pub enum GenericScriptSpecificKeyword {
Fangsong(Ident),
Kai(Ident),
KhmerMul(Ident),
Nastaliq(Ident),
}Expand description
https://drafts.csswg.org/css-fonts-4/#family-name-syntax
<generic-script-specific> = generic(fangsong) | generic(kai) | generic(khmer-mul) | generic(nastaliq)Variants§
Trait Implementations§
Source§impl Clone for GenericScriptSpecificKeyword
impl Clone for GenericScriptSpecificKeyword
Source§fn clone(&self) -> GenericScriptSpecificKeyword
fn clone(&self) -> GenericScriptSpecificKeyword
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 Debug for GenericScriptSpecificKeyword
impl Debug for GenericScriptSpecificKeyword
Source§impl Hash for GenericScriptSpecificKeyword
impl Hash for GenericScriptSpecificKeyword
Source§impl Ord for GenericScriptSpecificKeyword
impl Ord for GenericScriptSpecificKeyword
Source§fn cmp(&self, other: &GenericScriptSpecificKeyword) -> Ordering
fn cmp(&self, other: &GenericScriptSpecificKeyword) -> 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 GenericScriptSpecificKeyword
impl<'a> Parse<'a> for GenericScriptSpecificKeyword
Source§impl PartialEq for GenericScriptSpecificKeyword
impl PartialEq for GenericScriptSpecificKeyword
Source§fn eq(&self, other: &GenericScriptSpecificKeyword) -> bool
fn eq(&self, other: &GenericScriptSpecificKeyword) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GenericScriptSpecificKeyword
impl PartialOrd for GenericScriptSpecificKeyword
Source§impl<'a> Peek<'a> for GenericScriptSpecificKeyword
impl<'a> Peek<'a> for GenericScriptSpecificKeyword
Source§impl ToCursors for GenericScriptSpecificKeyword
impl ToCursors for GenericScriptSpecificKeyword
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for GenericScriptSpecificKeyword
impl StructuralPartialEq for GenericScriptSpecificKeyword
Auto Trait Implementations§
impl Freeze for GenericScriptSpecificKeyword
impl RefUnwindSafe for GenericScriptSpecificKeyword
impl Send for GenericScriptSpecificKeyword
impl Sync for GenericScriptSpecificKeyword
impl Unpin for GenericScriptSpecificKeyword
impl UnwindSafe for GenericScriptSpecificKeyword
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