#[repr(u8)]pub enum Format {
Show 15 variants
Bold = 1,
Thin = 2,
Regular = 22,
Italic = 3,
Upright = 23,
Underlined = 4,
NotUnderlined = 24,
Blinking = 5,
NotBlinking = 25,
Reversed = 7,
NotReversed = 27,
Hidden = 8,
NotHidden = 28,
Stricken = 9,
NotStricken = 29,
}
Expand description
The enumeration of unit Format
commands.
Variants§
Bold = 1
Thin = 2
Regular = 22
Italic = 3
Upright = 23
Underlined = 4
NotUnderlined = 24
Blinking = 5
NotBlinking = 25
Reversed = 7
NotReversed = 27
Hidden = 8
NotHidden = 28
Stricken = 9
NotStricken = 29
Implementations§
Trait Implementations§
Source§impl Sgr for Format
impl Sgr for Format
Source§fn write_param(&self, f: &mut Formatter<'_>) -> Result
fn write_param(&self, f: &mut Formatter<'_>) -> Result
Write the parameter(s) for this SGR command.
impl Command for Format
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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