#[repr(C)]pub struct ImFont {Show 18 fields
pub IndexAdvanceX: ImVector_float,
pub FallbackAdvanceX: f32,
pub FontSize: f32,
pub IndexLookup: ImVector_ImWchar,
pub Glyphs: ImVector_ImFontGlyph,
pub FallbackGlyph: *const ImFontGlyph,
pub ContainerAtlas: *mut ImFontAtlas,
pub ConfigData: *const ImFontConfig,
pub ConfigDataCount: i16,
pub FallbackChar: u32,
pub EllipsisChar: u32,
pub DotChar: u32,
pub DirtyLookupTables: bool,
pub Scale: f32,
pub Ascent: f32,
pub Descent: f32,
pub MetricsTotalSurface: i32,
pub Used4kPagesMap: [u8; 34],
}
Fields§
§IndexAdvanceX: ImVector_float
§FallbackAdvanceX: f32
§FontSize: f32
§IndexLookup: ImVector_ImWchar
§Glyphs: ImVector_ImFontGlyph
§FallbackGlyph: *const ImFontGlyph
§ContainerAtlas: *mut ImFontAtlas
§ConfigData: *const ImFontConfig
§ConfigDataCount: i16
§FallbackChar: u32
§EllipsisChar: u32
§DotChar: u32
§DirtyLookupTables: bool
§Scale: f32
§Ascent: f32
§Descent: f32
§MetricsTotalSurface: i32
§Used4kPagesMap: [u8; 34]
Trait Implementations§
Source§impl RawCast<ImFont> for Font
impl RawCast<ImFont> for Font
Source§unsafe fn from_raw_mut(raw: &mut T) -> &mut Self
unsafe fn from_raw_mut(raw: &mut T) -> &mut Self
Casts a mutable reference from the raw type Read more
impl Copy for ImFont
impl StructuralPartialEq for ImFont
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.