Enum usvg_tree::FontStretch
source · pub enum FontStretch {
UltraCondensed,
ExtraCondensed,
Condensed,
SemiCondensed,
Normal,
SemiExpanded,
Expanded,
ExtraExpanded,
UltraExpanded,
}
Expand description
A font stretch property.
Variants§
UltraCondensed
ExtraCondensed
Condensed
SemiCondensed
Normal
SemiExpanded
Expanded
ExtraExpanded
UltraExpanded
Trait Implementations§
source§impl Clone for FontStretch
impl Clone for FontStretch
source§fn clone(&self) -> FontStretch
fn clone(&self) -> FontStretch
Returns a copy 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 FontStretch
impl Debug for FontStretch
source§impl Default for FontStretch
impl Default for FontStretch
source§impl Hash for FontStretch
impl Hash for FontStretch
source§impl Ord for FontStretch
impl Ord for FontStretch
source§fn cmp(&self, other: &FontStretch) -> Ordering
fn cmp(&self, other: &FontStretch) -> 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 FontStretch
impl PartialEq for FontStretch
source§fn eq(&self, other: &FontStretch) -> bool
fn eq(&self, other: &FontStretch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FontStretch
impl PartialOrd for FontStretch
source§fn partial_cmp(&self, other: &FontStretch) -> Option<Ordering>
fn partial_cmp(&self, other: &FontStretch) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FontStretch
impl Eq for FontStretch
impl StructuralEq for FontStretch
impl StructuralPartialEq for FontStretch
Auto Trait Implementations§
impl RefUnwindSafe for FontStretch
impl Send for FontStretch
impl Sync for FontStretch
impl Unpin for FontStretch
impl UnwindSafe for FontStretch
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