pub enum ColorInstruction {
One(u8),
Two(u8, u8),
}
Expand description
ColorInstruction
is a helper enum
,
that helps to represent numbers in ANSI Escape Code.
ColorInstruction::One
represents either background or font color;
ColorInstruction::Two
represents combination of both;
Variants§
Auto Trait Implementations§
impl Freeze for ColorInstruction
impl RefUnwindSafe for ColorInstruction
impl Send for ColorInstruction
impl Sync for ColorInstruction
impl Unpin for ColorInstruction
impl UnwindSafe for ColorInstruction
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