#[non_exhaustive]pub enum TextDecorationLine {
Blink,
GrammarError,
LineThrough,
None,
Overline,
SpellingError,
Underline,
Raw(Raw),
}Expand description
A value of text-decoration-line.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Blink
blink.
GrammarError
grammar-error.
LineThrough
line-through.
None
none.
Overline
overline.
SpellingError
spelling-error.
Underline
underline.
Raw(Raw)
Any other value, passed through unchecked.
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 moreSource§impl Debug for TextDecorationLine
impl Debug for TextDecorationLine
Source§impl Display for TextDecorationLine
impl Display for TextDecorationLine
Source§impl From<Raw> for TextDecorationLine
impl From<Raw> for TextDecorationLine
Source§impl PartialEq for TextDecorationLine
impl PartialEq for TextDecorationLine
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