pub enum FontKerningStyleValue {
Auto(Ident),
Normal(Ident),
None(Ident),
}Expand description
Represents the style value for font-kerning as defined in css-fonts-5.
The font-kerning CSS property sets whether kerning data from a font is used to adjust the space between letters.
The grammar is defined as:
auto | normal | noneVariants§
Trait Implementations§
Source§impl Clone for FontKerningStyleValue
impl Clone for FontKerningStyleValue
Source§fn clone(&self) -> FontKerningStyleValue
fn clone(&self) -> FontKerningStyleValue
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 FontKerningStyleValue
impl Debug for FontKerningStyleValue
Source§impl Hash for FontKerningStyleValue
impl Hash for FontKerningStyleValue
Source§impl Ord for FontKerningStyleValue
impl Ord for FontKerningStyleValue
Source§fn cmp(&self, other: &FontKerningStyleValue) -> Ordering
fn cmp(&self, other: &FontKerningStyleValue) -> 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 FontKerningStyleValue
impl<'a> Parse<'a> for FontKerningStyleValue
Source§impl PartialEq for FontKerningStyleValue
impl PartialEq for FontKerningStyleValue
Source§impl PartialOrd for FontKerningStyleValue
impl PartialOrd for FontKerningStyleValue
Source§impl<'a> Peek<'a> for FontKerningStyleValue
impl<'a> Peek<'a> for FontKerningStyleValue
Source§impl ToCursors for FontKerningStyleValue
impl ToCursors for FontKerningStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for FontKerningStyleValue
impl StructuralPartialEq for FontKerningStyleValue
Auto Trait Implementations§
impl Freeze for FontKerningStyleValue
impl RefUnwindSafe for FontKerningStyleValue
impl Send for FontKerningStyleValue
impl Sync for FontKerningStyleValue
impl Unpin for FontKerningStyleValue
impl UnwindSafe for FontKerningStyleValue
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