pub enum UnderlineStyle {
None,
Single,
Dash,
Dot,
DashDot,
DashDotDot,
Wave,
SpellCheck,
}Expand description
Underline style for text decorations.
Variants§
None
No underline.
Single
Solid single underline.
Dash
Dashed underline.
Dot
Dotted underline.
DashDot
Alternating dash-dot pattern.
DashDotDot
Alternating dash-dot-dot pattern.
Wave
Wavy underline.
SpellCheck
Spell-check underline (wavy, typically red).
Trait Implementations§
Source§impl Clone for UnderlineStyle
impl Clone for UnderlineStyle
Source§fn clone(&self) -> UnderlineStyle
fn clone(&self) -> UnderlineStyle
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 UnderlineStyle
impl Debug for UnderlineStyle
Source§impl Default for UnderlineStyle
impl Default for UnderlineStyle
Source§fn default() -> UnderlineStyle
fn default() -> UnderlineStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for UnderlineStyle
impl PartialEq for UnderlineStyle
impl Copy for UnderlineStyle
impl Eq for UnderlineStyle
impl StructuralPartialEq for UnderlineStyle
Auto Trait Implementations§
impl Freeze for UnderlineStyle
impl RefUnwindSafe for UnderlineStyle
impl Send for UnderlineStyle
impl Sync for UnderlineStyle
impl Unpin for UnderlineStyle
impl UnsafeUnpin for UnderlineStyle
impl UnwindSafe for UnderlineStyle
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