pub struct TextDecorationColorStyleValue(pub Color);Expand description
Represents the style value for text-decoration-color 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:
<color>Tuple Fields§
§0: ColorTrait Implementations§
Source§impl Clone for TextDecorationColorStyleValue
impl Clone for TextDecorationColorStyleValue
Source§fn clone(&self) -> TextDecorationColorStyleValue
fn clone(&self) -> TextDecorationColorStyleValue
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 TextDecorationColorStyleValue
impl Hash for TextDecorationColorStyleValue
Source§impl Ord for TextDecorationColorStyleValue
impl Ord for TextDecorationColorStyleValue
Source§fn cmp(&self, other: &TextDecorationColorStyleValue) -> Ordering
fn cmp(&self, other: &TextDecorationColorStyleValue) -> 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 TextDecorationColorStyleValue
impl<'a> Parse<'a> for TextDecorationColorStyleValue
Source§impl PartialEq for TextDecorationColorStyleValue
impl PartialEq for TextDecorationColorStyleValue
Source§fn eq(&self, other: &TextDecorationColorStyleValue) -> bool
fn eq(&self, other: &TextDecorationColorStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TextDecorationColorStyleValue
impl PartialOrd for TextDecorationColorStyleValue
Source§impl<'a> Peek<'a> for TextDecorationColorStyleValue
impl<'a> Peek<'a> for TextDecorationColorStyleValue
Source§impl ToCursors for TextDecorationColorStyleValue
impl ToCursors for TextDecorationColorStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextDecorationColorStyleValue
impl StructuralPartialEq for TextDecorationColorStyleValue
Auto Trait Implementations§
impl Freeze for TextDecorationColorStyleValue
impl RefUnwindSafe for TextDecorationColorStyleValue
impl Send for TextDecorationColorStyleValue
impl Sync for TextDecorationColorStyleValue
impl Unpin for TextDecorationColorStyleValue
impl UnwindSafe for TextDecorationColorStyleValue
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