#[repr(C)]pub struct ImFontAtlas {Show 22 fields
pub Flags: i32,
pub TexID: *mut c_void,
pub TexDesiredWidth: i32,
pub TexGlyphPadding: i32,
pub Locked: bool,
pub UserData: *mut c_void,
pub TexReady: bool,
pub TexPixelsUseColors: bool,
pub TexPixelsAlpha8: *mut u8,
pub TexPixelsRGBA32: *mut u32,
pub TexWidth: i32,
pub TexHeight: i32,
pub TexUvScale: ImVec2,
pub TexUvWhitePixel: ImVec2,
pub Fonts: ImVector_ImFontPtr,
pub CustomRects: ImVector_ImFontAtlasCustomRect,
pub ConfigData: ImVector_ImFontConfig,
pub TexUvLines: [ImVec4; 64],
pub FontBuilderIO: *const ImFontBuilderIO,
pub FontBuilderFlags: u32,
pub PackIdMouseCursors: i32,
pub PackIdLines: i32,
}
Fields§
§Flags: i32
§TexID: *mut c_void
§TexDesiredWidth: i32
§TexGlyphPadding: i32
§Locked: bool
§UserData: *mut c_void
§TexReady: bool
§TexPixelsUseColors: bool
§TexPixelsAlpha8: *mut u8
§TexPixelsRGBA32: *mut u32
§TexWidth: i32
§TexHeight: i32
§TexUvScale: ImVec2
§TexUvWhitePixel: ImVec2
§Fonts: ImVector_ImFontPtr
§CustomRects: ImVector_ImFontAtlasCustomRect
§ConfigData: ImVector_ImFontConfig
§TexUvLines: [ImVec4; 64]
§FontBuilderIO: *const ImFontBuilderIO
§FontBuilderFlags: u32
§PackIdMouseCursors: i32
§PackIdLines: i32
Trait Implementations§
Source§impl Clone for ImFontAtlas
impl Clone for ImFontAtlas
Source§fn clone(&self) -> ImFontAtlas
fn clone(&self) -> ImFontAtlas
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImFontAtlas
impl Debug for ImFontAtlas
Source§impl Default for ImFontAtlas
impl Default for ImFontAtlas
Source§fn default() -> ImFontAtlas
fn default() -> ImFontAtlas
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImFontAtlas
impl PartialEq for ImFontAtlas
Source§impl RawCast<ImFontAtlas> for FontAtlas
impl RawCast<ImFontAtlas> for FontAtlas
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 ImFontAtlas
impl StructuralPartialEq for ImFontAtlas
Auto Trait Implementations§
impl Freeze for ImFontAtlas
impl RefUnwindSafe for ImFontAtlas
impl !Send for ImFontAtlas
impl !Sync for ImFontAtlas
impl Unpin for ImFontAtlas
impl UnwindSafe for ImFontAtlas
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()
.