Trait pix::ColorModel
source · 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>;
}