#[repr(C)]pub struct ImFontConfig {Show 19 fields
pub FontData: *mut c_void,
pub FontDataSize: c_int,
pub FontDataOwnedByAtlas: bool,
pub FontNo: c_int,
pub SizePixels: f32,
pub OversampleH: c_int,
pub OversampleV: c_int,
pub PixelSnapH: bool,
pub GlyphExtraSpacing: ImVec2,
pub GlyphOffset: ImVec2,
pub GlyphRanges: *const ImWchar,
pub GlyphMinAdvanceX: f32,
pub GlyphMaxAdvanceX: f32,
pub MergeMode: bool,
pub FontBuilderFlags: c_uint,
pub RasterizerMultiply: f32,
pub EllipsisChar: ImWchar,
pub Name: [c_char; 40],
pub DstFont: *mut ImFont,
}Fields§
§FontData: *mut c_void§FontDataSize: c_int§FontDataOwnedByAtlas: bool§FontNo: c_int§SizePixels: f32§OversampleH: c_int§OversampleV: c_int§PixelSnapH: bool§GlyphExtraSpacing: ImVec2§GlyphOffset: ImVec2§GlyphRanges: *const ImWchar§GlyphMinAdvanceX: f32§GlyphMaxAdvanceX: f32§MergeMode: bool§FontBuilderFlags: c_uint§RasterizerMultiply: f32§EllipsisChar: ImWchar§Name: [c_char; 40]§DstFont: *mut ImFontTrait Implementations§
Source§impl Clone for ImFontConfig
impl Clone for ImFontConfig
Source§fn clone(&self) -> ImFontConfig
fn clone(&self) -> ImFontConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImFontConfig
Source§impl Debug for ImFontConfig
impl Debug for ImFontConfig
Source§impl Default for ImFontConfig
impl Default for ImFontConfig
Source§impl PartialEq for ImFontConfig
impl PartialEq for ImFontConfig
Source§fn eq(&self, other: &ImFontConfig) -> bool
fn eq(&self, other: &ImFontConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImFontConfig
Auto Trait Implementations§
impl !Send for ImFontConfig
impl !Sync for ImFontConfig
impl Freeze for ImFontConfig
impl RefUnwindSafe for ImFontConfig
impl Unpin for ImFontConfig
impl UnsafeUnpin 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