#[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 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§fn default() -> ImFontConfig
fn default() -> ImFontConfig
Returns the “default value” for a type. Read more
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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().