pub struct TextEmphasisColorStyleValue(pub Color);Expand description
Represents the style value for text-emphasis-color as defined in css-text-decor-4.
The text-emphasis CSS property sets position and style for text emphasis marks, especially for East Asian languages.
The grammar is defined as:
<color>Tuple Fields§
§0: ColorTrait Implementations§
Source§impl Clone for TextEmphasisColorStyleValue
impl Clone for TextEmphasisColorStyleValue
Source§fn clone(&self) -> TextEmphasisColorStyleValue
fn clone(&self) -> TextEmphasisColorStyleValue
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 TextEmphasisColorStyleValue
impl Debug for TextEmphasisColorStyleValue
Source§impl Hash for TextEmphasisColorStyleValue
impl Hash for TextEmphasisColorStyleValue
Source§impl Ord for TextEmphasisColorStyleValue
impl Ord for TextEmphasisColorStyleValue
Source§fn cmp(&self, other: &TextEmphasisColorStyleValue) -> Ordering
fn cmp(&self, other: &TextEmphasisColorStyleValue) -> 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 TextEmphasisColorStyleValue
impl<'a> Parse<'a> for TextEmphasisColorStyleValue
Source§impl PartialOrd for TextEmphasisColorStyleValue
impl PartialOrd for TextEmphasisColorStyleValue
Source§impl<'a> Peek<'a> for TextEmphasisColorStyleValue
impl<'a> Peek<'a> for TextEmphasisColorStyleValue
Source§impl ToCursors for TextEmphasisColorStyleValue
impl ToCursors for TextEmphasisColorStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextEmphasisColorStyleValue
impl StructuralPartialEq for TextEmphasisColorStyleValue
Auto Trait Implementations§
impl Freeze for TextEmphasisColorStyleValue
impl RefUnwindSafe for TextEmphasisColorStyleValue
impl Send for TextEmphasisColorStyleValue
impl Sync for TextEmphasisColorStyleValue
impl Unpin for TextEmphasisColorStyleValue
impl UnwindSafe for TextEmphasisColorStyleValue
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