#[repr(C)]pub struct ImFontConfig {Show 19 fields
pub FontData: *mut c_void,
pub FontDataSize: i32,
pub FontDataOwnedByAtlas: bool,
pub FontNo: i32,
pub SizePixels: f32,
pub OversampleH: i32,
pub OversampleV: i32,
pub PixelSnapH: bool,
pub GlyphExtraSpacing: ImVec2,
pub GlyphOffset: ImVec2,
pub GlyphRanges: *const u32,
pub GlyphMinAdvanceX: f32,
pub GlyphMaxAdvanceX: f32,
pub MergeMode: bool,
pub FontBuilderFlags: u32,
pub RasterizerMultiply: f32,
pub EllipsisChar: u32,
pub Name: [i8; 40],
pub DstFont: *mut ImFont,
}
Fields§
§FontData: *mut c_void
§FontDataSize: i32
§FontDataOwnedByAtlas: bool
§FontNo: i32
§SizePixels: f32
§OversampleH: i32
§OversampleV: i32
§PixelSnapH: bool
§GlyphExtraSpacing: ImVec2
§GlyphOffset: ImVec2
§GlyphRanges: *const u32
§GlyphMinAdvanceX: f32
§GlyphMaxAdvanceX: f32
§MergeMode: bool
§FontBuilderFlags: u32
§RasterizerMultiply: f32
§EllipsisChar: u32
§Name: [i8; 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 duplicate 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§fn default() -> ImFontConfig
fn default() -> ImFontConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImFontConfig
impl PartialEq for ImFontConfig
impl Copy for ImFontConfig
impl StructuralPartialEq for ImFontConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.