pub enum FontSynthesis {
None,
All,
Weight,
Style,
}Expand description
Which missing styles the renderer may fake when the chosen font lacks them.
Compose’s FontSynthesis.
Variants§
None
Nothing is synthesized.
All
Both bold and italic may be synthesized.
Weight
Only bold may be synthesized.
Style
Only italic may be synthesized.
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 Hash for FontSynthesis
impl Hash for FontSynthesis
Source§impl PartialEq for FontSynthesis
impl PartialEq for FontSynthesis
impl StructuralPartialEq for FontSynthesis
Auto Trait Implementations§
impl Forget for FontSynthesis
impl Freeze for FontSynthesis
impl Move 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