pub enum Sgr {
Show 15 variants
Reset,
Intensity(Intensity),
Underline(Underline),
Blink(Blink),
Italic(bool),
Reverse(bool),
Invisible(bool),
StrikeThrough(bool),
Overline(bool),
Font(Font),
VerticalAlign(VerticalAlign),
Foreground(ColorSpec),
Background(ColorSpec),
UnderlineColor(ColorSpec),
Attributes(SgrAttributes),
}Variants§
Reset
Resets the graphics rendition to default.
Intensity(Intensity)
Underline(Underline)
Blink(Blink)
Italic(bool)
Reverse(bool)
Invisible(bool)
StrikeThrough(bool)
Overline(bool)
Font(Font)
VerticalAlign(VerticalAlign)
Foreground(ColorSpec)
Background(ColorSpec)
UnderlineColor(ColorSpec)
Attributes(SgrAttributes)
A helper type that can combine sequences into a single SGR update.
Trait Implementations§
impl Copy for Sgr
impl Eq for Sgr
impl StructuralPartialEq for Sgr
Auto Trait Implementations§
impl Freeze for Sgr
impl RefUnwindSafe for Sgr
impl Send for Sgr
impl Sync for Sgr
impl Unpin for Sgr
impl UnwindSafe for Sgr
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