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.
Required Associated Constants§
Required Associated Types§
type ComponentTy: Copy
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.