Enum dotrix_egui::FontFamily [−]
pub enum FontFamily {
Monospace,
Proportional,
}
Expand description
Which style of font: Monospace
or Proportional
.
Variants
A font where each character is the same width (w
is the same width as i
).
A font where some characters are wider than other (e.g. ‘w’ is wider than ‘i’).
Trait Implementations
impl Clone for FontFamily
impl Clone for FontFamily
pub fn clone(&self) -> FontFamily
pub fn clone(&self) -> FontFamily
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for FontFamily
impl Debug for FontFamily
impl Hash for FontFamily
impl Hash for FontFamily
impl Ord for FontFamily
impl Ord for FontFamily
pub fn cmp(&self, other: &FontFamily) -> Ordering
pub fn cmp(&self, other: &FontFamily) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<FontFamily> for FontFamily
impl PartialEq<FontFamily> for FontFamily
impl PartialOrd<FontFamily> for FontFamily
impl PartialOrd<FontFamily> for FontFamily
pub fn partial_cmp(&self, other: &FontFamily) -> Option<Ordering>
pub fn partial_cmp(&self, other: &FontFamily) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl Copy for FontFamily
impl Eq for FontFamily
impl StructuralEq for FontFamily
impl StructuralPartialEq for FontFamily
Auto Trait Implementations
impl RefUnwindSafe for FontFamily
impl Send for FontFamily
impl Sync for FontFamily
impl Unpin for FontFamily
impl UnwindSafe for FontFamily
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more