Trait bevy_color::Gray
source · pub trait Gray: Mix + Sized {
const BLACK: Self;
const WHITE: Self;
// Provided method
fn gray(lightness: f32) -> Self { ... }
}
Expand description
Trait for returning a grayscale color of a provided lightness.
Required Associated Constants§
Provided Methods§
Object Safety§
This trait is not object safe.