trait IsColorSchemeValue {
// Required method
fn is_color_scheme(&self) -> bool;
}Expand description
Trait to make it easier to make sure all callers lowercase to ASCII
before comparing to the color-scheme value.
Otherwise it is easy to miss one usage and compare case-sensitively.
Required Methods§
fn is_color_scheme(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".