#[non_exhaustive]pub enum FontSynthesisStyle {
Auto,
None,
}Expand description
A value of font-synthesis-style.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FontSynthesisStyle
impl Clone for FontSynthesisStyle
Source§fn clone(&self) -> FontSynthesisStyle
fn clone(&self) -> FontSynthesisStyle
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 FontSynthesisStyle
impl Debug for FontSynthesisStyle
Source§impl Display for FontSynthesisStyle
impl Display for FontSynthesisStyle
Source§impl PartialEq for FontSynthesisStyle
impl PartialEq for FontSynthesisStyle
impl StructuralPartialEq for FontSynthesisStyle
Auto Trait Implementations§
impl Freeze for FontSynthesisStyle
impl RefUnwindSafe for FontSynthesisStyle
impl Send for FontSynthesisStyle
impl Sync for FontSynthesisStyle
impl Unpin for FontSynthesisStyle
impl UnsafeUnpin for FontSynthesisStyle
impl UnwindSafe for FontSynthesisStyle
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