#[repr(C)]pub enum FontType {
Default = 0,
Bitmap = 1,
Sdf = 2,
}
Expand description
Font type, defines generation method
Variants§
Default = 0
Default font generation, anti-aliased
Bitmap = 1
Bitmap font generation, no anti-aliasing
Sdf = 2
SDF font generation, requires external shader
Trait Implementations§
impl Copy for FontType
impl Eq for FontType
impl StructuralPartialEq for FontType
Auto Trait Implementations§
impl Freeze for FontType
impl RefUnwindSafe for FontType
impl Send for FontType
impl Sync for FontType
impl Unpin for FontType
impl UnwindSafe for FontType
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