pub enum FontFamily {
Sans,
Monospace,
Serif,
}Expand description
Font family semantic category.
Variants§
Sans
Clean geometric sans-serif UI font.
Monospace
Fixed-width monospace font for code and metrics.
Serif
Serif editorial font.
Trait Implementations§
Source§impl Clone for FontFamily
impl Clone for FontFamily
impl Copy for FontFamily
Source§impl Debug for FontFamily
impl Debug for FontFamily
Source§impl Default for FontFamily
impl Default for FontFamily
impl Eq for FontFamily
Source§impl Hash for FontFamily
impl Hash for FontFamily
Source§impl Ord for FontFamily
impl Ord for FontFamily
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 FontFamily
impl PartialEq for FontFamily
Source§impl PartialOrd for FontFamily
impl PartialOrd for FontFamily
impl StructuralPartialEq for FontFamily
Auto Trait Implementations§
impl Forget for FontFamily
impl Freeze for FontFamily
impl Move for FontFamily
impl RefUnwindSafe for FontFamily
impl Send for FontFamily
impl Sync for FontFamily
impl Unpin for FontFamily
impl UnsafeUnpin for FontFamily
impl UnwindSafe for FontFamily
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