pub enum FontSubstitution {
Disabled,
FallbackFamilies(Vec<FontDescriptor>),
BestEffort,
}Variants§
Trait Implementations§
Source§impl Clone for FontSubstitution
impl Clone for FontSubstitution
Source§fn clone(&self) -> FontSubstitution
fn clone(&self) -> FontSubstitution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FontSubstitution
impl Debug for FontSubstitution
Source§impl Default for FontSubstitution
impl Default for FontSubstitution
Source§fn default() -> FontSubstitution
fn default() -> FontSubstitution
Returns the “default value” for a type. Read more
Source§impl PartialEq for FontSubstitution
impl PartialEq for FontSubstitution
Source§fn eq(&self, other: &FontSubstitution) -> bool
fn eq(&self, other: &FontSubstitution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FontSubstitution
Auto Trait Implementations§
impl Freeze for FontSubstitution
impl RefUnwindSafe for FontSubstitution
impl Send for FontSubstitution
impl Sync for FontSubstitution
impl Unpin for FontSubstitution
impl UnsafeUnpin for FontSubstitution
impl UnwindSafe for FontSubstitution
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