pub enum FontWeightAbsolute {
Normal(Ident),
Bold(Ident),
Number(Number),
}Expand description
https://drafts.csswg.org/css-fonts-4/#font-weight-absolute-values
<font-weight-absolute> = [normal | bold | <number [1,1000]>]Variants§
Trait Implementations§
Source§impl Clone for FontWeightAbsolute
impl Clone for FontWeightAbsolute
Source§fn clone(&self) -> FontWeightAbsolute
fn clone(&self) -> FontWeightAbsolute
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 FontWeightAbsolute
impl Debug for FontWeightAbsolute
Source§impl From<FontWeightAbsolute> for Cursor
impl From<FontWeightAbsolute> for Cursor
Source§fn from(value: FontWeightAbsolute) -> Cursor
fn from(value: FontWeightAbsolute) -> Cursor
Converts to this type from the input type.
Source§impl From<FontWeightAbsolute> for Token
impl From<FontWeightAbsolute> for Token
Source§fn from(value: FontWeightAbsolute) -> Token
fn from(value: FontWeightAbsolute) -> Token
Converts to this type from the input type.
Source§impl Hash for FontWeightAbsolute
impl Hash for FontWeightAbsolute
Source§impl Ord for FontWeightAbsolute
impl Ord for FontWeightAbsolute
Source§fn cmp(&self, other: &FontWeightAbsolute) -> Ordering
fn cmp(&self, other: &FontWeightAbsolute) -> 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<'a> Parse<'a> for FontWeightAbsolute
impl<'a> Parse<'a> for FontWeightAbsolute
Source§impl PartialEq for FontWeightAbsolute
impl PartialEq for FontWeightAbsolute
Source§impl PartialOrd for FontWeightAbsolute
impl PartialOrd for FontWeightAbsolute
Source§impl<'a> Peek<'a> for FontWeightAbsolute
impl<'a> Peek<'a> for FontWeightAbsolute
Source§impl ToCursors for FontWeightAbsolute
impl ToCursors for FontWeightAbsolute
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for FontWeightAbsolute
impl Eq for FontWeightAbsolute
impl StructuralPartialEq for FontWeightAbsolute
Auto Trait Implementations§
impl Freeze for FontWeightAbsolute
impl RefUnwindSafe for FontWeightAbsolute
impl Send for FontWeightAbsolute
impl Sync for FontWeightAbsolute
impl Unpin for FontWeightAbsolute
impl UnwindSafe for FontWeightAbsolute
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