#[non_exhaustive]pub enum FontVariantLigatures {
CommonLigatures,
Contextual,
DiscretionaryLigatures,
HistoricalLigatures,
NoCommonLigatures,
NoContextual,
NoDiscretionaryLigatures,
NoHistoricalLigatures,
None,
Normal,
Raw(Raw),
}Expand description
A value of font-variant-ligatures.
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.
CommonLigatures
common-ligatures.
Contextual
contextual.
DiscretionaryLigatures
discretionary-ligatures.
HistoricalLigatures
historical-ligatures.
NoCommonLigatures
no-common-ligatures.
NoContextual
no-contextual.
NoDiscretionaryLigatures
no-discretionary-ligatures.
NoHistoricalLigatures
no-historical-ligatures.
None
none.
Normal
normal.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for FontVariantLigatures
impl Clone for FontVariantLigatures
Source§fn clone(&self) -> FontVariantLigatures
fn clone(&self) -> FontVariantLigatures
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 FontVariantLigatures
impl Debug for FontVariantLigatures
Source§impl Display for FontVariantLigatures
impl Display for FontVariantLigatures
Source§impl From<Raw> for FontVariantLigatures
impl From<Raw> for FontVariantLigatures
Source§impl PartialEq for FontVariantLigatures
impl PartialEq for FontVariantLigatures
impl StructuralPartialEq for FontVariantLigatures
Auto Trait Implementations§
impl Freeze for FontVariantLigatures
impl RefUnwindSafe for FontVariantLigatures
impl Send for FontVariantLigatures
impl Sync for FontVariantLigatures
impl Unpin for FontVariantLigatures
impl UnsafeUnpin for FontVariantLigatures
impl UnwindSafe for FontVariantLigatures
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