pub enum UnderlineDecoration {
Solid,
Wavy,
}Expand description
Visual style for underlined text.
Variants§
Trait Implementations§
Source§impl Clone for UnderlineDecoration
impl Clone for UnderlineDecoration
Source§fn clone(&self) -> UnderlineDecoration
fn clone(&self) -> UnderlineDecoration
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 UnderlineDecoration
Source§impl Debug for UnderlineDecoration
impl Debug for UnderlineDecoration
impl Eq for UnderlineDecoration
Source§impl Hash for UnderlineDecoration
impl Hash for UnderlineDecoration
Source§impl PartialEq for UnderlineDecoration
impl PartialEq for UnderlineDecoration
Source§fn eq(&self, other: &UnderlineDecoration) -> bool
fn eq(&self, other: &UnderlineDecoration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnderlineDecoration
Auto Trait Implementations§
impl Freeze for UnderlineDecoration
impl RefUnwindSafe for UnderlineDecoration
impl Send for UnderlineDecoration
impl Sync for UnderlineDecoration
impl Unpin for UnderlineDecoration
impl UnsafeUnpin for UnderlineDecoration
impl UnwindSafe for UnderlineDecoration
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