Enum dmntk_common::ColorMode
source · pub enum ColorMode {
On,
Off,
}
Expand description
Color mode to switch terminal colouring on and off.
Variants§
Trait Implementations§
source§impl From<ColorMode> for ColorPalette
impl From<ColorMode> for ColorPalette
source§impl PartialEq for ColorMode
impl PartialEq for ColorMode
impl Copy for ColorMode
impl StructuralPartialEq for ColorMode
Auto Trait Implementations§
impl Freeze for ColorMode
impl RefUnwindSafe for ColorMode
impl Send for ColorMode
impl Sync for ColorMode
impl Unpin for ColorMode
impl UnwindSafe for ColorMode
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