pub trait ColorType {
type ComponentTy: Copy;
const SPACE: Spaces;
const NUM_COMPONENTS: usize;
}
Expand description
A trait used to simpify the interface of the Alpha
and PremultipliedAlpha
types and
allow use with Spaces
enum.
pub trait ColorType {
type ComponentTy: Copy;
const SPACE: Spaces;
const NUM_COMPONENTS: usize;
}
A trait used to simpify the interface of the Alpha
and PremultipliedAlpha
types and
allow use with Spaces
enum.