pub enum GenericFamily {
Show 13 variants
Serif,
SansSerif,
Monospace,
Cursive,
Fantasy,
SystemUi,
UiSerif,
UiSansSerif,
UiMonospace,
UiRounded,
Emoji,
Math,
Fangsong,
}Expand description
A CSS generic font family.
Variants§
Serif
SansSerif
Monospace
Cursive
Fantasy
SystemUi
UiSerif
UiSansSerif
UiMonospace
UiRounded
Emoji
Math
Fangsong
Implementations§
Source§impl GenericFamily
impl GenericFamily
Trait Implementations§
Source§impl Clone for GenericFamily
impl Clone for GenericFamily
Source§fn clone(&self) -> GenericFamily
fn clone(&self) -> GenericFamily
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 moreimpl Copy for GenericFamily
Source§impl Debug for GenericFamily
impl Debug for GenericFamily
impl Eq for GenericFamily
Source§impl Hash for GenericFamily
impl Hash for GenericFamily
Source§impl Ord for GenericFamily
impl Ord for GenericFamily
Source§fn cmp(&self, other: &GenericFamily) -> Ordering
fn cmp(&self, other: &GenericFamily) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for GenericFamily
impl PartialEq for GenericFamily
Source§impl PartialOrd for GenericFamily
impl PartialOrd for GenericFamily
impl StructuralPartialEq for GenericFamily
Auto Trait Implementations§
impl Freeze for GenericFamily
impl RefUnwindSafe for GenericFamily
impl Send for GenericFamily
impl Sync for GenericFamily
impl Unpin for GenericFamily
impl UnsafeUnpin for GenericFamily
impl UnwindSafe for GenericFamily
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