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