pub enum FontVariant {
Normal,
SmallCaps,
}Expand description
The font-variant keyword (Lynx accepts a small subset of the CSS
font-variant shorthand).
Variants§
Normal
normal — no variant features. Default.
SmallCaps
small-caps — render lowercase as small capitals.
Trait Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FontVariant
Source§impl Debug for FontVariant
impl Debug for FontVariant
impl Eq for FontVariant
Source§impl Hash for FontVariant
impl Hash for FontVariant
Source§impl PartialEq for FontVariant
impl PartialEq for FontVariant
Source§fn eq(&self, other: &FontVariant) -> bool
fn eq(&self, other: &FontVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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