#[non_exhaustive]pub enum FontVariantNumeric {
DiagonalFractions,
LiningNums,
Normal,
OldstyleNums,
Ordinal,
ProportionalNums,
SlashedZero,
StackedFractions,
TabularNums,
Raw(Raw),
}Expand description
A value of font-variant-numeric.
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.
DiagonalFractions
diagonal-fractions.
LiningNums
lining-nums.
Normal
normal.
OldstyleNums
oldstyle-nums.
Ordinal
ordinal.
ProportionalNums
proportional-nums.
SlashedZero
slashed-zero.
StackedFractions
stacked-fractions.
TabularNums
tabular-nums.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for FontVariantNumeric
impl Clone for FontVariantNumeric
Source§fn clone(&self) -> FontVariantNumeric
fn clone(&self) -> FontVariantNumeric
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 FontVariantNumeric
impl Debug for FontVariantNumeric
Source§impl Display for FontVariantNumeric
impl Display for FontVariantNumeric
Source§impl From<Raw> for FontVariantNumeric
impl From<Raw> for FontVariantNumeric
Source§impl PartialEq for FontVariantNumeric
impl PartialEq for FontVariantNumeric
impl StructuralPartialEq for FontVariantNumeric
Auto Trait Implementations§
impl Freeze for FontVariantNumeric
impl RefUnwindSafe for FontVariantNumeric
impl Send for FontVariantNumeric
impl Sync for FontVariantNumeric
impl Unpin for FontVariantNumeric
impl UnsafeUnpin for FontVariantNumeric
impl UnwindSafe for FontVariantNumeric
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