pub enum TextDecorationSkipInkStyleValue {
Auto(Ident),
None(Ident),
All(Ident),
}Expand description
Represents the style value for text-decoration-skip-ink as defined in css-text-decor-4.
The text-decoration CSS property sets the style and color of decorative lines including underline, overline, line-through, or a combination of lines.
The grammar is defined as:
auto | none | allVariants§
Trait Implementations§
Source§impl Clone for TextDecorationSkipInkStyleValue
impl Clone for TextDecorationSkipInkStyleValue
Source§fn clone(&self) -> TextDecorationSkipInkStyleValue
fn clone(&self) -> TextDecorationSkipInkStyleValue
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 TextDecorationSkipInkStyleValue
impl Ord for TextDecorationSkipInkStyleValue
Source§fn cmp(&self, other: &TextDecorationSkipInkStyleValue) -> Ordering
fn cmp(&self, other: &TextDecorationSkipInkStyleValue) -> 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 TextDecorationSkipInkStyleValue
impl<'a> Parse<'a> for TextDecorationSkipInkStyleValue
Source§impl PartialEq for TextDecorationSkipInkStyleValue
impl PartialEq for TextDecorationSkipInkStyleValue
Source§fn eq(&self, other: &TextDecorationSkipInkStyleValue) -> bool
fn eq(&self, other: &TextDecorationSkipInkStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TextDecorationSkipInkStyleValue
impl PartialOrd for TextDecorationSkipInkStyleValue
Source§impl<'a> Peek<'a> for TextDecorationSkipInkStyleValue
impl<'a> Peek<'a> for TextDecorationSkipInkStyleValue
Source§impl ToCursors for TextDecorationSkipInkStyleValue
impl ToCursors for TextDecorationSkipInkStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextDecorationSkipInkStyleValue
impl StructuralPartialEq for TextDecorationSkipInkStyleValue
Auto Trait Implementations§
impl Freeze for TextDecorationSkipInkStyleValue
impl RefUnwindSafe for TextDecorationSkipInkStyleValue
impl Send for TextDecorationSkipInkStyleValue
impl Sync for TextDecorationSkipInkStyleValue
impl Unpin for TextDecorationSkipInkStyleValue
impl UnwindSafe for TextDecorationSkipInkStyleValue
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