pub enum FontLanguageOverrideStyleValue {
Normal(Ident),
String(String),
}Expand description
Represents the style value for font-language-override as defined in css-fonts-5.
The font-language-override CSS property sets which language-specific glyphs are displayed.
The grammar is defined as:
normal | <string>Variants§
Trait Implementations§
Source§impl Clone for FontLanguageOverrideStyleValue
impl Clone for FontLanguageOverrideStyleValue
Source§fn clone(&self) -> FontLanguageOverrideStyleValue
fn clone(&self) -> FontLanguageOverrideStyleValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Ord for FontLanguageOverrideStyleValue
impl Ord for FontLanguageOverrideStyleValue
Source§fn cmp(&self, other: &FontLanguageOverrideStyleValue) -> Ordering
fn cmp(&self, other: &FontLanguageOverrideStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for FontLanguageOverrideStyleValue
impl<'a> Parse<'a> for FontLanguageOverrideStyleValue
Source§impl PartialEq for FontLanguageOverrideStyleValue
impl PartialEq for FontLanguageOverrideStyleValue
Source§fn eq(&self, other: &FontLanguageOverrideStyleValue) -> bool
fn eq(&self, other: &FontLanguageOverrideStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FontLanguageOverrideStyleValue
impl PartialOrd for FontLanguageOverrideStyleValue
Source§impl<'a> Peek<'a> for FontLanguageOverrideStyleValue
impl<'a> Peek<'a> for FontLanguageOverrideStyleValue
Source§impl ToCursors for FontLanguageOverrideStyleValue
impl ToCursors for FontLanguageOverrideStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for FontLanguageOverrideStyleValue
impl StructuralPartialEq for FontLanguageOverrideStyleValue
Auto Trait Implementations§
impl Freeze for FontLanguageOverrideStyleValue
impl RefUnwindSafe for FontLanguageOverrideStyleValue
impl Send for FontLanguageOverrideStyleValue
impl Sync for FontLanguageOverrideStyleValue
impl Unpin for FontLanguageOverrideStyleValue
impl UnwindSafe for FontLanguageOverrideStyleValue
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