ImFontAtlas

Struct ImFontAtlas 

Source
#[repr(C)]
pub struct ImFontAtlas {
Show 30 fields pub Flags: ImFontAtlasFlags, pub TexDesiredFormat: ImTextureFormat, pub TexGlyphPadding: c_int, pub TexMinWidth: c_int, pub TexMinHeight: c_int, pub TexMaxWidth: c_int, pub TexMaxHeight: c_int, pub UserData: *mut c_void, pub TexRef: ImTextureRef, pub TexData: *mut ImTextureData, pub TexList: ImVector_ImTextureDataPtr, pub Locked: bool, pub RendererHasTextures: bool, pub TexIsBuilt: bool, pub TexPixelsUseColors: bool, pub TexUvScale: ImVec2, pub TexUvWhitePixel: ImVec2, pub Fonts: ImVector_ImFontPtr, pub Sources: ImVector_ImFontConfig, pub TexUvLines: [ImVec4; 33], pub TexNextUniqueID: c_int, pub FontNextUniqueID: c_int, pub DrawListSharedDatas: ImVector_ImDrawListSharedDataPtr, pub Builder: *mut ImFontAtlasBuilder, pub FontLoader: *const ImFontLoader, pub FontLoaderName: *const c_char, pub FontLoaderData: *mut c_void, pub FontLoaderFlags: c_uint, pub RefCount: c_int, pub OwnerContext: *mut ImGuiContext,
}

Fields§

§Flags: ImFontAtlasFlags§TexDesiredFormat: ImTextureFormat§TexGlyphPadding: c_int§TexMinWidth: c_int§TexMinHeight: c_int§TexMaxWidth: c_int§TexMaxHeight: c_int§UserData: *mut c_void§TexRef: ImTextureRef§TexData: *mut ImTextureData§TexList: ImVector_ImTextureDataPtr§Locked: bool§RendererHasTextures: bool§TexIsBuilt: bool§TexPixelsUseColors: bool§TexUvScale: ImVec2§TexUvWhitePixel: ImVec2§Fonts: ImVector_ImFontPtr§Sources: ImVector_ImFontConfig§TexUvLines: [ImVec4; 33]§TexNextUniqueID: c_int§FontNextUniqueID: c_int§DrawListSharedDatas: ImVector_ImDrawListSharedDataPtr§Builder: *mut ImFontAtlasBuilder§FontLoader: *const ImFontLoader§FontLoaderName: *const c_char§FontLoaderData: *mut c_void§FontLoaderFlags: c_uint§RefCount: c_int§OwnerContext: *mut ImGuiContext

Trait Implementations§

Source§

impl Default for ImFontAtlas

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.