pub struct FontFamilyStyleValue<'a>(pub CommaSeparated<'a, SingleFontFamilyStyleValue<'a>>);Expand description
Represents the style value for font-family as defined in css-fonts-5.
The font-family CSS property sets the desired font face for text, along with optional fallback font faces.
The grammar is defined as:
[ <family-name> | <generic-family> ]#Tuple Fields§
§0: CommaSeparated<'a, SingleFontFamilyStyleValue<'a>>Trait Implementations§
Source§impl<'a> Clone for FontFamilyStyleValue<'a>
impl<'a> Clone for FontFamilyStyleValue<'a>
Source§fn clone(&self) -> FontFamilyStyleValue<'a>
fn clone(&self) -> FontFamilyStyleValue<'a>
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<'a> Debug for FontFamilyStyleValue<'a>
impl<'a> Debug for FontFamilyStyleValue<'a>
Source§impl<'a> Hash for FontFamilyStyleValue<'a>
impl<'a> Hash for FontFamilyStyleValue<'a>
Source§impl<'a> Ord for FontFamilyStyleValue<'a>
impl<'a> Ord for FontFamilyStyleValue<'a>
Source§fn cmp(&self, other: &FontFamilyStyleValue<'a>) -> Ordering
fn cmp(&self, other: &FontFamilyStyleValue<'a>) -> 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 FontFamilyStyleValue<'a>
impl<'a> Parse<'a> for FontFamilyStyleValue<'a>
Source§impl<'a> PartialEq for FontFamilyStyleValue<'a>
impl<'a> PartialEq for FontFamilyStyleValue<'a>
Source§impl<'a> PartialOrd for FontFamilyStyleValue<'a>
impl<'a> PartialOrd for FontFamilyStyleValue<'a>
Source§impl<'a> Peek<'a> for FontFamilyStyleValue<'a>
impl<'a> Peek<'a> for FontFamilyStyleValue<'a>
Source§impl<'a> ToCursors for FontFamilyStyleValue<'a>
impl<'a> ToCursors for FontFamilyStyleValue<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for FontFamilyStyleValue<'a>
impl<'a> StructuralPartialEq for FontFamilyStyleValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for FontFamilyStyleValue<'a>
impl<'a> !RefUnwindSafe for FontFamilyStyleValue<'a>
impl<'a> !Send for FontFamilyStyleValue<'a>
impl<'a> !Sync for FontFamilyStyleValue<'a>
impl<'a> Unpin for FontFamilyStyleValue<'a>
impl<'a> !UnwindSafe for FontFamilyStyleValue<'a>
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