pub enum StyleMode {
Always,
Auto,
Never,
}
Expand description
Represents terminal style enabling mode.
Variants§
Always
Always output style escape codes.
Auto
Output style escape codes only when the target is detected as a terminal.
Never
Always do not output style escape codes.
Trait Implementations§
impl Copy for StyleMode
impl Eq for StyleMode
impl StructuralPartialEq for StyleMode
Auto Trait Implementations§
impl Freeze for StyleMode
impl RefUnwindSafe for StyleMode
impl Send for StyleMode
impl Sync for StyleMode
impl Unpin for StyleMode
impl UnwindSafe for StyleMode
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