Trait quantette::ColorComponents
source · pub trait ColorComponents<Component, const N: usize>: ArrayCast<Array = [Component; N]> + Copy + 'static { }Expand description
Types that may be cast to and from a fixed sized array.
Quantization functions in quantette operate over a color type/space.
These types must implement ArrayCast where Component is the data type and N is the
number of channels/dimensions.
Object Safety§
This trait is not object safe.