Struct supports_color::ColorLevel
source · 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
sourceimpl Clone for ColorLevel
impl Clone for ColorLevel
sourcefn clone(&self) -> ColorLevel
fn clone(&self) -> ColorLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ColorLevel
impl Debug for ColorLevel
sourceimpl Hash for ColorLevel
impl Hash for ColorLevel
sourceimpl PartialEq<ColorLevel> for ColorLevel
impl PartialEq<ColorLevel> for ColorLevel
sourcefn eq(&self, other: &ColorLevel) -> bool
fn eq(&self, other: &ColorLevel) -> bool
impl Copy for ColorLevel
impl Eq for ColorLevel
impl StructuralEq for ColorLevel
impl StructuralPartialEq for ColorLevel
Auto Trait Implementations
impl RefUnwindSafe for ColorLevel
impl Send for ColorLevel
impl Sync for ColorLevel
impl Unpin for ColorLevel
impl UnwindSafe for ColorLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more