Struct imgui_sys::ImFontConfig
source · #[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 ImFont
Trait Implementations§
source§impl Clone for ImFontConfig
impl Clone for ImFontConfig
source§fn clone(&self) -> ImFontConfig
fn clone(&self) -> ImFontConfig
Returns a copy 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 ImFontConfig
impl Debug for ImFontConfig
source§impl Default for ImFontConfig
impl Default for ImFontConfig
source§impl PartialEq<ImFontConfig> for ImFontConfig
impl PartialEq<ImFontConfig> for ImFontConfig
source§fn eq(&self, other: &ImFontConfig) -> bool
fn eq(&self, other: &ImFontConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.