pub enum TextDecorationSkipStyleValue {
None(Ident),
Auto(Ident),
}Expand description
Represents the style value for text-decoration-skip 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:
none | autoVariants§
Trait Implementations§
Source§impl Clone for TextDecorationSkipStyleValue
impl Clone for TextDecorationSkipStyleValue
Source§fn clone(&self) -> TextDecorationSkipStyleValue
fn clone(&self) -> TextDecorationSkipStyleValue
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 TextDecorationSkipStyleValue
impl Debug for TextDecorationSkipStyleValue
Source§impl Hash for TextDecorationSkipStyleValue
impl Hash for TextDecorationSkipStyleValue
Source§impl Ord for TextDecorationSkipStyleValue
impl Ord for TextDecorationSkipStyleValue
Source§fn cmp(&self, other: &TextDecorationSkipStyleValue) -> Ordering
fn cmp(&self, other: &TextDecorationSkipStyleValue) -> 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 TextDecorationSkipStyleValue
impl<'a> Parse<'a> for TextDecorationSkipStyleValue
Source§impl PartialEq for TextDecorationSkipStyleValue
impl PartialEq for TextDecorationSkipStyleValue
Source§fn eq(&self, other: &TextDecorationSkipStyleValue) -> bool
fn eq(&self, other: &TextDecorationSkipStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TextDecorationSkipStyleValue
impl PartialOrd for TextDecorationSkipStyleValue
Source§impl<'a> Peek<'a> for TextDecorationSkipStyleValue
impl<'a> Peek<'a> for TextDecorationSkipStyleValue
Source§impl ToCursors for TextDecorationSkipStyleValue
impl ToCursors for TextDecorationSkipStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextDecorationSkipStyleValue
impl StructuralPartialEq for TextDecorationSkipStyleValue
Auto Trait Implementations§
impl Freeze for TextDecorationSkipStyleValue
impl RefUnwindSafe for TextDecorationSkipStyleValue
impl Send for TextDecorationSkipStyleValue
impl Sync for TextDecorationSkipStyleValue
impl Unpin for TextDecorationSkipStyleValue
impl UnwindSafe for TextDecorationSkipStyleValue
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