pub enum FontVariant {
Initial,
Inherit,
Unset,
Normal,
SmallCaps,
}Variants§
Trait Implementations§
Source§impl AppendProperty for FontVariant
impl AppendProperty for FontVariant
fn append_property(self, decls: &mut Vec<Property>)
Source§impl Clone for FontVariant
impl Clone for FontVariant
Source§fn clone(&self) -> FontVariant
fn clone(&self) -> FontVariant
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 FontVariant
impl Debug for FontVariant
Source§impl Display for FontVariant
impl Display for FontVariant
Source§impl From<FontVariant> for Property
impl From<FontVariant> for Property
Source§fn from(x: FontVariant) -> Self
fn from(x: FontVariant) -> Self
Converts to this type from the input type.
Source§impl Hash for FontVariant
impl Hash for FontVariant
Source§impl Ord for FontVariant
impl Ord for FontVariant
Source§fn cmp(&self, other: &FontVariant) -> Ordering
fn cmp(&self, other: &FontVariant) -> 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 FontVariant
impl PartialEq for FontVariant
Source§impl PartialOrd for FontVariant
impl PartialOrd for FontVariant
impl Eq for FontVariant
impl StructuralPartialEq for FontVariant
Auto Trait Implementations§
impl Freeze for FontVariant
impl RefUnwindSafe for FontVariant
impl Send for FontVariant
impl Sync for FontVariant
impl Unpin for FontVariant
impl UnwindSafe for FontVariant
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