pub enum GenericComplete {
Serif(Ident),
SansSerif(Ident),
SystemUi(Ident),
Cursive(Ident),
Fantasy(Ident),
Math(Ident),
Monospace(Ident),
}Expand description
https://drafts.csswg.org/css-fonts-4/#family-name-syntax
<generic-complete> = serif | sans-serif | system-ui | cursive | fantasy | math | monospaceVariants§
Serif(Ident)
SansSerif(Ident)
SystemUi(Ident)
Cursive(Ident)
Fantasy(Ident)
Math(Ident)
Monospace(Ident)
Trait Implementations§
Source§impl Clone for GenericComplete
impl Clone for GenericComplete
Source§fn clone(&self) -> GenericComplete
fn clone(&self) -> GenericComplete
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 GenericComplete
impl Debug for GenericComplete
Source§impl Hash for GenericComplete
impl Hash for GenericComplete
Source§impl Ord for GenericComplete
impl Ord for GenericComplete
Source§fn cmp(&self, other: &GenericComplete) -> Ordering
fn cmp(&self, other: &GenericComplete) -> 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 GenericComplete
impl<'a> Parse<'a> for GenericComplete
Source§impl PartialEq for GenericComplete
impl PartialEq for GenericComplete
Source§impl PartialOrd for GenericComplete
impl PartialOrd for GenericComplete
Source§impl<'a> Peek<'a> for GenericComplete
impl<'a> Peek<'a> for GenericComplete
Source§impl ToCursors for GenericComplete
impl ToCursors for GenericComplete
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for GenericComplete
impl StructuralPartialEq for GenericComplete
Auto Trait Implementations§
impl Freeze for GenericComplete
impl RefUnwindSafe for GenericComplete
impl Send for GenericComplete
impl Sync for GenericComplete
impl Unpin for GenericComplete
impl UnwindSafe for GenericComplete
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