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: boolBasic ANSI colors are supported.
has_256: bool256-bit colors are supported.
has_16m: bool16 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 more