pub enum FontSynthesis {
Unspecified,
None,
Weight,
Style,
SmallCaps,
All,
}Expand description
Font synthesis controls whether the font renderer may synthesize bold, italic, or small-caps variants when the font lacks them.
Variants§
Trait Implementations§
Source§impl Clone for FontSynthesis
impl Clone for FontSynthesis
impl Copy for FontSynthesis
Source§impl Debug for FontSynthesis
impl Debug for FontSynthesis
Source§impl Default for FontSynthesis
impl Default for FontSynthesis
impl Eq for FontSynthesis
Source§impl PartialEq for FontSynthesis
impl PartialEq for FontSynthesis
impl StructuralPartialEq for FontSynthesis
Auto Trait Implementations§
impl Freeze for FontSynthesis
impl RefUnwindSafe for FontSynthesis
impl Send for FontSynthesis
impl Sync for FontSynthesis
impl Unpin for FontSynthesis
impl UnsafeUnpin for FontSynthesis
impl UnwindSafe for FontSynthesis
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