pub enum FontFamily {
Mix(Box<FontFamily>, Box<FontFamily>),
Helvetica,
Neue,
Arial,
Derive(Vec<FontFamily>),
}Expand description
Font Family
Variants§
Mix(Box<FontFamily>, Box<FontFamily>)
Helvetica Neue Font
Helvetica
Helvetica Font
Neue
Neue Font
Arial
Arial Font
Derive(Vec<FontFamily>)
Derive Font Families
Trait Implementations§
Source§impl Clone for FontFamily
impl Clone for FontFamily
Source§fn clone(&self) -> FontFamily
fn clone(&self) -> FontFamily
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 FontFamily
impl Debug for FontFamily
Source§impl From<&str> for FontFamily
impl From<&str> for FontFamily
Source§fn from(s: &str) -> FontFamily
fn from(s: &str) -> FontFamily
Converts to this type from the input type.
Source§impl From<FontFamily> for Style
impl From<FontFamily> for Style
Source§fn from(s: FontFamily) -> Style
fn from(s: FontFamily) -> Style
Converts to this type from the input type.
Source§impl Ord for FontFamily
impl Ord for FontFamily
Source§fn cmp(&self, other: &FontFamily) -> Ordering
fn cmp(&self, other: &FontFamily) -> 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 PartialEq for FontFamily
impl PartialEq for FontFamily
Source§impl PartialOrd for FontFamily
impl PartialOrd for FontFamily
Source§impl ToString for FontFamily
impl ToString for FontFamily
impl Eq for FontFamily
impl StructuralPartialEq for FontFamily
Auto Trait Implementations§
impl Freeze for FontFamily
impl RefUnwindSafe for FontFamily
impl Send for FontFamily
impl Sync for FontFamily
impl Unpin 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