pub struct ColorLevel {
pub has_basic: bool,
pub has_256: bool,
pub has_16m: bool,
/* private fields */
}
Expand description
Color level support details.
This type is returned from on. See documentation for its fields for more details.
Fields§
§has_basic: bool
Basic ANSI colors are supported.
has_256: bool
256-bit colors are supported.
has_16m: bool
16 million (RGB) colors are supported.
Trait Implementations§
Source§impl Clone for ColorLevel
impl Clone for ColorLevel
Source§fn clone(&self) -> ColorLevel
fn clone(&self) -> ColorLevel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ColorLevel
impl Debug for ColorLevel
Source§impl Hash for ColorLevel
impl Hash for ColorLevel
Source§impl PartialEq for ColorLevel
impl PartialEq for ColorLevel
impl Copy for ColorLevel
impl Eq for ColorLevel
impl StructuralPartialEq for ColorLevel
Auto Trait Implementations§
impl Freeze for ColorLevel
impl RefUnwindSafe for ColorLevel
impl Send for ColorLevel
impl Sync for ColorLevel
impl Unpin for ColorLevel
impl UnwindSafe for ColorLevel
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