#[non_exhaustive]pub enum ColorDepth {
None,
Ansi256,
TrueColor,
}Available on crate feature
cli only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ColorDepth
impl Clone for ColorDepth
impl Copy for ColorDepth
Source§impl Debug for ColorDepth
impl Debug for ColorDepth
impl Eq for ColorDepth
Source§impl PartialEq for ColorDepth
impl PartialEq for ColorDepth
impl StructuralPartialEq for ColorDepth
Auto Trait Implementations§
impl Forget for ColorDepth
impl Freeze for ColorDepth
impl Move for ColorDepth
impl RefUnwindSafe for ColorDepth
impl Send for ColorDepth
impl Sync for ColorDepth
impl Unpin for ColorDepth
impl UnsafeUnpin for ColorDepth
impl UnwindSafe for ColorDepth
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