pub enum TextDecorationStyle {
Solid,
Double,
Dotted,
Dashed,
Wavy,
}Expand description
The text-decoration-style keyword.
Variants§
Solid
solid — single straight line. Default.
Double
double — two parallel lines.
Dotted
dotted — line made of dots.
Dashed
dashed — line made of dashes.
Wavy
wavy — wavy line.
Trait Implementations§
Source§impl Clone for TextDecorationStyle
impl Clone for TextDecorationStyle
Source§fn clone(&self) -> TextDecorationStyle
fn clone(&self) -> TextDecorationStyle
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 TextDecorationStyle
Source§impl Debug for TextDecorationStyle
impl Debug for TextDecorationStyle
impl Eq for TextDecorationStyle
Source§impl Hash for TextDecorationStyle
impl Hash for TextDecorationStyle
Source§impl PartialEq for TextDecorationStyle
impl PartialEq for TextDecorationStyle
Source§fn eq(&self, other: &TextDecorationStyle) -> bool
fn eq(&self, other: &TextDecorationStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextDecorationStyle
Auto Trait Implementations§
impl Freeze for TextDecorationStyle
impl RefUnwindSafe for TextDecorationStyle
impl Send for TextDecorationStyle
impl Sync for TextDecorationStyle
impl Unpin for TextDecorationStyle
impl UnsafeUnpin for TextDecorationStyle
impl UnwindSafe for TextDecorationStyle
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