pub enum Modifier {
Bold,
Dim,
Italic,
Underline,
Blink,
RapidBlink,
Reverse,
Hidden,
Strikethrough,
DoubleUnderline,
Overline,
}Expand description
Text style modifiers.
Variants§
Bold
Bold text.
Dim
Dim/faint text.
Italic
Italic text.
Underline
Underlined text.
Blink
Blinking text (slow).
RapidBlink
Rapidly blinking text.
Reverse
Reversed/inverted colors.
Hidden
Hidden/invisible text.
Strikethrough
Strikethrough text.
DoubleUnderline
Double underline.
Overline
Overlined text.
Implementations§
Trait Implementations§
impl Copy for Modifier
impl Eq for Modifier
impl StructuralPartialEq for Modifier
Auto Trait Implementations§
impl Freeze for Modifier
impl RefUnwindSafe for Modifier
impl Send for Modifier
impl Sync for Modifier
impl Unpin for Modifier
impl UnwindSafe for Modifier
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)