pub struct FontLoaderFlags(pub u32);Expand description
Font loader flags for controlling font loading behavior
Tuple Fields§
§0: u32Implementations§
Source§impl FontLoaderFlags
impl FontLoaderFlags
Sourcepub const LOAD_COLOR: Self
pub const LOAD_COLOR: Self
Load color glyphs (requires FreeType backend)
Sourcepub const FORCE_AUTOHINT: Self
pub const FORCE_AUTOHINT: Self
Force auto-hinting
Sourcepub const NO_HINTING: Self
pub const NO_HINTING: Self
Disable hinting
Sourcepub const NO_AUTOHINT: Self
pub const NO_AUTOHINT: Self
Disable auto-hinting
Trait Implementations§
Source§impl BitOr for FontLoaderFlags
impl BitOr for FontLoaderFlags
Source§impl BitOrAssign for FontLoaderFlags
impl BitOrAssign for FontLoaderFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for FontLoaderFlags
impl Clone for FontLoaderFlags
Source§fn clone(&self) -> FontLoaderFlags
fn clone(&self) -> FontLoaderFlags
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 FontLoaderFlags
impl Debug for FontLoaderFlags
Source§impl PartialEq for FontLoaderFlags
impl PartialEq for FontLoaderFlags
impl Copy for FontLoaderFlags
impl Eq for FontLoaderFlags
impl StructuralPartialEq for FontLoaderFlags
Auto Trait Implementations§
impl Freeze for FontLoaderFlags
impl RefUnwindSafe for FontLoaderFlags
impl Send for FontLoaderFlags
impl Sync for FontLoaderFlags
impl Unpin for FontLoaderFlags
impl UnwindSafe for FontLoaderFlags
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