#[non_exhaustive]pub enum FontSynthesisWeight {
Auto,
None,
}Expand description
A value of font-synthesis-weight.
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 FontSynthesisWeight
impl Clone for FontSynthesisWeight
Source§fn clone(&self) -> FontSynthesisWeight
fn clone(&self) -> FontSynthesisWeight
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 FontSynthesisWeight
impl Debug for FontSynthesisWeight
Source§impl Display for FontSynthesisWeight
impl Display for FontSynthesisWeight
Source§impl PartialEq for FontSynthesisWeight
impl PartialEq for FontSynthesisWeight
impl StructuralPartialEq for FontSynthesisWeight
Auto Trait Implementations§
impl Freeze for FontSynthesisWeight
impl RefUnwindSafe for FontSynthesisWeight
impl Send for FontSynthesisWeight
impl Sync for FontSynthesisWeight
impl Unpin for FontSynthesisWeight
impl UnsafeUnpin for FontSynthesisWeight
impl UnwindSafe for FontSynthesisWeight
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