pub enum TextDecorationKind {
Underline,
Overline,
LineThrough,
}Variants§
Trait Implementations§
Source§impl Clone for TextDecorationKind
impl Clone for TextDecorationKind
Source§fn clone(&self) -> TextDecorationKind
fn clone(&self) -> TextDecorationKind
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 TextDecorationKind
impl Debug for TextDecorationKind
Source§impl PartialEq for TextDecorationKind
impl PartialEq for TextDecorationKind
Source§fn eq(&self, other: &TextDecorationKind) -> bool
fn eq(&self, other: &TextDecorationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TextDecorationKind
impl Eq for TextDecorationKind
impl StructuralPartialEq for TextDecorationKind
Auto Trait Implementations§
impl Freeze for TextDecorationKind
impl RefUnwindSafe for TextDecorationKind
impl Send for TextDecorationKind
impl Sync for TextDecorationKind
impl Unpin for TextDecorationKind
impl UnsafeUnpin for TextDecorationKind
impl UnwindSafe for TextDecorationKind
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