#[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)