#[repr(C)]pub struct ImFont {Show 14 fields
pub FontSize: c_float,
pub Scale: c_float,
pub DisplayOffset: ImVec2,
pub FallbackChar: ImWchar,
pub ConfigData: *mut ImFontConfig,
pub ConfigDataCount: c_int,
pub Ascent: c_float,
pub Descent: c_float,
pub ContainerAtlas: *mut ImFontAtlas,
pub Glyphs: ImVector<Struct_Glyph>,
pub FallbackGlyph: *const Struct_Glyph,
pub FallbackXAdvance: c_float,
pub IndexXAdvance: ImVector<c_float>,
pub IndexLookup: ImVector<c_int>,
}
Fields§
§FontSize: c_float
§Scale: c_float
§DisplayOffset: ImVec2
§FallbackChar: ImWchar
§ConfigData: *mut ImFontConfig
§ConfigDataCount: c_int
§Ascent: c_float
§Descent: c_float
§ContainerAtlas: *mut ImFontAtlas
§Glyphs: ImVector<Struct_Glyph>
§FallbackGlyph: *const Struct_Glyph
§FallbackXAdvance: c_float
§IndexXAdvance: ImVector<c_float>
§IndexLookup: ImVector<c_int>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImFont
impl RefUnwindSafe for ImFont
impl !Send for ImFont
impl !Sync for ImFont
impl Unpin for ImFont
impl UnwindSafe for ImFont
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