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
impl Copy for UnderlineStyle
Source§impl Debug for UnderlineStyle
impl Debug for UnderlineStyle
Source§impl Default for UnderlineStyle
impl Default for UnderlineStyle
impl Eq for UnderlineStyle
Source§impl PartialEq for UnderlineStyle
impl PartialEq for UnderlineStyle
impl StructuralPartialEq for UnderlineStyle
Auto Trait Implementations§
impl Forget for UnderlineStyle
impl Freeze for UnderlineStyle
impl Move 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.