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