#[repr(C)]pub struct FontT {Show 17 fields
pub num_glyphs: u32,
pub _padding_86: [c_char; 4],
pub glyphs: *mut FontGlyphT,
pub glyphs_segments_size: u32,
pub _padding_93: [c_char; 4],
pub glyphs_segments: *mut u8,
pub num_ranges: u32,
pub em: f32,
pub ranges: *mut FontRangeT,
pub num_font_scales: u32,
pub font_scales: [f32; 8],
pub ascent: [f32; 8],
pub descent: [f32; 8],
pub line_gap: [f32; 8],
pub ex: [f32; 8],
pub cap_height: [f32; 8],
pub _padding_134: [c_char; 4],
}
Fields§
§num_glyphs: u32
§_padding_86: [c_char; 4]
§glyphs: *mut FontGlyphT
§glyphs_segments_size: u32
§_padding_93: [c_char; 4]
§glyphs_segments: *mut u8
§num_ranges: u32
§em: f32
§ranges: *mut FontRangeT
§num_font_scales: u32
§font_scales: [f32; 8]
§ascent: [f32; 8]
§descent: [f32; 8]
§line_gap: [f32; 8]
§ex: [f32; 8]
§cap_height: [f32; 8]
§_padding_134: [c_char; 4]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FontT
impl RefUnwindSafe for FontT
impl !Send for FontT
impl !Sync for FontT
impl Unpin for FontT
impl UnwindSafe for FontT
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