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