pub enum FontSizeKeyword {
XxSmall,
XSmall,
Small,
Medium,
Large,
XLarge,
XxLarge,
XxxLarge,
}Expand description
The absolute font-size keywords, on the usual scale where medium is
16px.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FontSizeKeyword
impl Clone for FontSizeKeyword
Source§fn clone(&self) -> FontSizeKeyword
fn clone(&self) -> FontSizeKeyword
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 FontSizeKeyword
Source§impl Debug for FontSizeKeyword
impl Debug for FontSizeKeyword
impl Eq for FontSizeKeyword
Source§impl Hash for FontSizeKeyword
impl Hash for FontSizeKeyword
Source§impl PartialEq for FontSizeKeyword
impl PartialEq for FontSizeKeyword
Source§fn eq(&self, other: &FontSizeKeyword) -> bool
fn eq(&self, other: &FontSizeKeyword) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FontSizeKeyword
Auto Trait Implementations§
impl Freeze for FontSizeKeyword
impl RefUnwindSafe for FontSizeKeyword
impl Send for FontSizeKeyword
impl Sync for FontSizeKeyword
impl Unpin for FontSizeKeyword
impl UnsafeUnpin for FontSizeKeyword
impl UnwindSafe for FontSizeKeyword
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