pub enum Modifier {
Bold,
Dim,
Italic,
SlowBlink,
RapidBlink,
Reversed,
Hidden,
CrossedOut,
}Expand description
Font, visibility, and terminal display modifiers.
Variants§
Bold
Bold text.
Dim
Dimmed text.
Italic
Italic text.
SlowBlink
Slow terminal blinking. CSS uses blink decoration.
RapidBlink
Rapid terminal blinking. CSS uses blink decoration.
Reversed
Swap foreground and background colors.
Hidden
Hide text without removing its space.
CrossedOut
Strike through text.
Trait Implementations§
impl Copy for Modifier
impl Eq for Modifier
impl StructuralPartialEq for Modifier
Auto Trait Implementations§
impl Forget for Modifier
impl Freeze for Modifier
impl Move for Modifier
impl RefUnwindSafe for Modifier
impl Send for Modifier
impl Sync for Modifier
impl Unpin for Modifier
impl UnsafeUnpin for Modifier
impl UnwindSafe for Modifier
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