pub trait ToColor8 {
// Required method
fn to_color_u8clamped(self) -> u8;
}
Expand description
Provides a method of converting color part from a f32
type to a u8
.
pub trait ToColor8 {
// Required method
fn to_color_u8clamped(self) -> u8;
}
Provides a method of converting color part from a f32
type to a u8
.