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