#[repr(C)]pub struct ImFontConfig {Show 25 fields
pub Name: [c_char; 40],
pub FontData: *mut c_void,
pub FontDataSize: c_int,
pub FontDataOwnedByAtlas: bool,
pub MergeMode: bool,
pub PixelSnapH: bool,
pub PixelSnapV: bool,
pub OversampleH: ImS8,
pub OversampleV: ImS8,
pub EllipsisChar: ImWchar,
pub SizePixels: f32,
pub GlyphRanges: *const ImWchar,
pub GlyphExcludeRanges: *const ImWchar,
pub GlyphOffset: ImVec2,
pub GlyphMinAdvanceX: f32,
pub GlyphMaxAdvanceX: f32,
pub GlyphExtraAdvanceX: f32,
pub FontNo: ImU32,
pub FontLoaderFlags: c_uint,
pub RasterizerMultiply: f32,
pub RasterizerDensity: f32,
pub Flags: ImFontFlags,
pub DstFont: *mut ImFont,
pub FontLoader: *const ImFontLoader,
pub FontLoaderData: *mut c_void,
}Fields§
§Name: [c_char; 40]§FontData: *mut c_void§FontDataSize: c_int§FontDataOwnedByAtlas: bool§MergeMode: bool§PixelSnapH: bool§PixelSnapV: bool§OversampleH: ImS8§OversampleV: ImS8§EllipsisChar: ImWchar§SizePixels: f32§GlyphRanges: *const ImWchar§GlyphExcludeRanges: *const ImWchar§GlyphOffset: ImVec2§GlyphMinAdvanceX: f32§GlyphMaxAdvanceX: f32§GlyphExtraAdvanceX: f32§FontNo: ImU32§FontLoaderFlags: c_uint§RasterizerMultiply: f32§RasterizerDensity: f32§Flags: ImFontFlags§DstFont: *mut ImFont§FontLoader: *const ImFontLoader§FontLoaderData: *mut c_voidTrait Implementations§
Auto Trait Implementations§
impl Freeze for ImFontConfig
impl RefUnwindSafe for ImFontConfig
impl !Send for ImFontConfig
impl !Sync for ImFontConfig
impl Unpin for ImFontConfig
impl UnwindSafe for ImFontConfig
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