pub enum TextDecoration {
Bold,
Italic,
Underlined,
Strikethrough,
Obfuscated,
}Expand description
Text decoration styles
Variants§
Bold
Bold text
Italic
Italic text
Underlined
Underlined text
Strikethrough
Strikethrough text
Obfuscated
Obfuscated (scrambled) text
Trait Implementations§
Source§impl Clone for TextDecoration
impl Clone for TextDecoration
Source§fn clone(&self) -> TextDecoration
fn clone(&self) -> TextDecoration
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 TextDecoration
impl Debug for TextDecoration
Source§impl Hash for TextDecoration
impl Hash for TextDecoration
Source§impl PartialEq for TextDecoration
impl PartialEq for TextDecoration
impl Copy for TextDecoration
impl Eq for TextDecoration
impl StructuralPartialEq for TextDecoration
Auto Trait Implementations§
impl Freeze for TextDecoration
impl RefUnwindSafe for TextDecoration
impl Send for TextDecoration
impl Sync for TextDecoration
impl Unpin for TextDecoration
impl UnwindSafe for TextDecoration
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