pub struct RawFile<'a> {Show 14 fields
pub sub_file_sizes: SubFileSizes,
pub raw_sub_file_sizes: &'a [u8],
pub header: &'a [u8],
pub begin_char: Char,
pub end_char: Char,
pub char_infos: &'a [u8],
pub widths: &'a [u8],
pub heights: &'a [u8],
pub depths: &'a [u8],
pub italic_corrections: &'a [u8],
pub lig_kern_instructions: &'a [u8],
pub kerns: &'a [u8],
pub extensible_recipes: &'a [u8],
pub params: &'a [u8],
}
Expand description
Raw .tfm file.
Fields§
§sub_file_sizes: SubFileSizes
§raw_sub_file_sizes: &'a [u8]
§header: &'a [u8]
§begin_char: Char
§end_char: Char
§char_infos: &'a [u8]
§widths: &'a [u8]
§heights: &'a [u8]
§depths: &'a [u8]
§italic_corrections: &'a [u8]
§lig_kern_instructions: &'a [u8]
§kerns: &'a [u8]
§extensible_recipes: &'a [u8]
§params: &'a [u8]
Implementations§
source§impl<'a> RawFile<'a>
impl<'a> RawFile<'a>
pub fn from_debug_output( s: &str, keep_sub_file_sizes: bool ) -> Result<Vec<u8>, (String, usize)>
pub fn deserialize( b: &'a [u8] ) -> (Result<Self, DeserializationError>, Vec<DeserializationWarning>)
Auto Trait Implementations§
impl<'a> RefUnwindSafe for RawFile<'a>
impl<'a> Send for RawFile<'a>
impl<'a> Sync for RawFile<'a>
impl<'a> Unpin for RawFile<'a>
impl<'a> UnwindSafe for RawFile<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more