#[repr(u8)]pub enum Emphasis {
None = 0,
StrikeOut = 1,
Overline = 2,
Underline = 4,
UnderlineDC = 8,
UnderlineX2 = 16,
InvertColor = 32,
Bold = 64,
Italic = 128,
}Expand description
Text emphasis
Variants§
None = 0
Regular
StrikeOut = 1
Strikethrough
Overline = 2
Overline
Underline = 4
Underline Continuous
UnderlineDC = 8
Underline Discontinuous
UnderlineX2 = 16
Double Underline
InvertColor = 32
Invert Colors
Bold = 64
Bold
Italic = 128
Italic
Trait Implementations§
impl Copy for Emphasis
impl StructuralPartialEq for Emphasis
Auto Trait Implementations§
impl Freeze for Emphasis
impl RefUnwindSafe for Emphasis
impl Send for Emphasis
impl Sync for Emphasis
impl Unpin for Emphasis
impl UnwindSafe for Emphasis
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