[][src]Struct imgui_sys::ImFont

#[repr(C)]
pub struct ImFont { pub font_size: c_float, pub scale: c_float, pub display_offset: ImVec2, pub glyphs: ImVector<ImFontGlyph>, pub index_advance_x: ImVector<c_float>, pub index_lookup: ImVector<ImWchar>, pub fallback_glyph: *const ImFontGlyph, pub fallback_advance_x: c_float, pub fallback_char: ImWchar, pub config_data_count: c_short, pub config_data: *mut ImFontConfig, pub container_font_atlas: *mut ImFontAtlas, pub ascent: c_float, pub descent: c_float, pub dirty_lookup_tables: bool, pub metrics_total_surface: c_int, }

Runtime data for a single font within a parent ImFontAtlas

Fields

font_size: c_floatscale: c_floatdisplay_offset: ImVec2glyphs: ImVector<ImFontGlyph>index_advance_x: ImVector<c_float>index_lookup: ImVector<ImWchar>fallback_glyph: *const ImFontGlyphfallback_advance_x: c_floatfallback_char: ImWcharconfig_data_count: c_shortconfig_data: *mut ImFontConfigcontainer_font_atlas: *mut ImFontAtlasascent: c_floatdescent: c_floatdirty_lookup_tables: boolmetrics_total_surface: c_int

Auto Trait Implementations

impl !Send for ImFont

impl !Sync for ImFont

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.