pub enum DefaultFontSelector {
Auto,
Bitmap,
Vector,
}Expand description
The type of default font selected.
Variants§
Auto
Let ImGui decide the right font, based on size and scale.
Bitmap
Select the pixel-clean classic default font.
Vector
Select the new scalable font.
Auto Trait Implementations§
impl Freeze for DefaultFontSelector
impl RefUnwindSafe for DefaultFontSelector
impl Send for DefaultFontSelector
impl Sync for DefaultFontSelector
impl Unpin for DefaultFontSelector
impl UnsafeUnpin for DefaultFontSelector
impl UnwindSafe for DefaultFontSelector
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> 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 more