#[repr(u8)]pub enum TextDecorationStyle {
Solid = 0,
Dotted = 1,
Dashed = 2,
Double = 3,
Wavy = 4,
}Variants§
Implementations§
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 · 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 TextDecorationStyle
impl Debug for TextDecorationStyle
Source§impl<'de> Deserialize<'de> for TextDecorationStyle
impl<'de> Deserialize<'de> for TextDecorationStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TextDecorationStyle
impl Hash for TextDecorationStyle
Source§impl PartialEq for TextDecorationStyle
impl PartialEq for TextDecorationStyle
Source§impl Serialize for TextDecorationStyle
impl Serialize for TextDecorationStyle
impl Copy for TextDecorationStyle
impl Eq for TextDecorationStyle
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 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