#[repr(C)]pub struct ttf_file {
pub nchars: c_int,
pub nglyphs: c_int,
pub chars: *mut u16,
pub char2glyph: *mut u16,
pub glyphs: *mut ttf_glyph_t,
pub filename: *const c_char,
pub glyf_csum: u32,
pub ubranges: [u32; 6],
pub head: ttf_file__bindgen_ty_1,
pub os2: ttf_file__bindgen_ty_2,
pub names: ttf_file__bindgen_ty_3,
pub hhea: ttf_file__bindgen_ty_4,
}Expand description
@brief Loaded font structure
This structure contains information about the loaded font, including the character set and their glyphs.
Fields§
§nchars: c_int§nglyphs: c_int§chars: *mut u16§char2glyph: *mut u16§glyphs: *mut ttf_glyph_t§filename: *const c_char§glyf_csum: u32§ubranges: [u32; 6]§head: ttf_file__bindgen_ty_1§os2: ttf_file__bindgen_ty_2§names: ttf_file__bindgen_ty_3§hhea: ttf_file__bindgen_ty_4Trait Implementations§
Auto Trait Implementations§
impl Freeze for ttf_file
impl RefUnwindSafe for ttf_file
impl !Send for ttf_file
impl !Sync for ttf_file
impl Unpin for ttf_file
impl UnwindSafe for ttf_file
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