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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.