pub enum TextDecorationLine {
None,
Underline,
Overline,
LineThrough,
}Expand description
The text-decoration-line keyword (one or more values).
Variants§
None
none — no decoration.
Underline
underline — line below the text.
Overline
overline — line above the text.
LineThrough
line-through — line through the middle of the text.
Trait Implementations§
Source§impl Clone for TextDecorationLine
impl Clone for TextDecorationLine
Source§fn clone(&self) -> TextDecorationLine
fn clone(&self) -> TextDecorationLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextDecorationLine
Source§impl Debug for TextDecorationLine
impl Debug for TextDecorationLine
impl Eq for TextDecorationLine
Source§impl Hash for TextDecorationLine
impl Hash for TextDecorationLine
Source§impl PartialEq for TextDecorationLine
impl PartialEq for TextDecorationLine
Source§fn eq(&self, other: &TextDecorationLine) -> bool
fn eq(&self, other: &TextDecorationLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextDecorationLine
Auto Trait Implementations§
impl Freeze for TextDecorationLine
impl RefUnwindSafe for TextDecorationLine
impl Send for TextDecorationLine
impl Sync for TextDecorationLine
impl Unpin for TextDecorationLine
impl UnsafeUnpin for TextDecorationLine
impl UnwindSafe for TextDecorationLine
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