pub trait ColorModel:
Clone
+ Copy
+ Debug
+ Default
+ PartialEq
+ Any {
const CIRCULAR: Range<usize>;
const LINEAR: Range<usize>;
const ALPHA: usize;
// Required methods
fn into_rgba<P>(p: P) -> PixRgba<P>
where P: Pixel<Model = Self>;
fn from_rgba<P>(rgba: PixRgba<P>) -> P
where P: Pixel<Model = Self>;
}
Expand description
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.