pub enum FontSynthesisSmallCapsStyleValue {
Auto(Ident),
None(Ident),
}Expand description
Represents the style value for font-synthesis-small-caps as defined in css-fonts-5.
The font-synthesis-small-caps CSS property sets whether or not the browser should synthesize small caps typefaces when they’re missing from the font.
The grammar is defined as:
auto | noneVariants§
Trait Implementations§
Source§impl Clone for FontSynthesisSmallCapsStyleValue
impl Clone for FontSynthesisSmallCapsStyleValue
Source§fn clone(&self) -> FontSynthesisSmallCapsStyleValue
fn clone(&self) -> FontSynthesisSmallCapsStyleValue
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 Ord for FontSynthesisSmallCapsStyleValue
impl Ord for FontSynthesisSmallCapsStyleValue
Source§fn cmp(&self, other: &FontSynthesisSmallCapsStyleValue) -> Ordering
fn cmp(&self, other: &FontSynthesisSmallCapsStyleValue) -> 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 FontSynthesisSmallCapsStyleValue
impl<'a> Parse<'a> for FontSynthesisSmallCapsStyleValue
Source§impl PartialEq for FontSynthesisSmallCapsStyleValue
impl PartialEq for FontSynthesisSmallCapsStyleValue
Source§fn eq(&self, other: &FontSynthesisSmallCapsStyleValue) -> bool
fn eq(&self, other: &FontSynthesisSmallCapsStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FontSynthesisSmallCapsStyleValue
impl PartialOrd for FontSynthesisSmallCapsStyleValue
Source§impl<'a> Peek<'a> for FontSynthesisSmallCapsStyleValue
impl<'a> Peek<'a> for FontSynthesisSmallCapsStyleValue
Source§impl ToCursors for FontSynthesisSmallCapsStyleValue
impl ToCursors for FontSynthesisSmallCapsStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for FontSynthesisSmallCapsStyleValue
impl StructuralPartialEq for FontSynthesisSmallCapsStyleValue
Auto Trait Implementations§
impl Freeze for FontSynthesisSmallCapsStyleValue
impl RefUnwindSafe for FontSynthesisSmallCapsStyleValue
impl Send for FontSynthesisSmallCapsStyleValue
impl Sync for FontSynthesisSmallCapsStyleValue
impl Unpin for FontSynthesisSmallCapsStyleValue
impl UnwindSafe for FontSynthesisSmallCapsStyleValue
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