pub trait FromColor<Other> {
// Required method
fn from_color(&mut self, _: &Other);
}
Expand description
Provides color conversions for the different pixel types.
Required Methods§
sourcefn from_color(&mut self, _: &Other)
fn from_color(&mut self, _: &Other)
Changes self
to represent Other
in the color space of Self