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