pub trait PixelComponent:
Copy
+ Num
+ NumCast
+ NumAssign
+ NumOps
+ PartialOrd<Self> {
const COMPONENT_MIN: Self;
const COMPONENT_MAX: Self;
}Expand description
A trait for all the required super-traits for a pixel component type.
Required Associated Constants§
Sourceconst COMPONENT_MIN: Self
const COMPONENT_MIN: Self
The minimum component value
Sourceconst COMPONENT_MAX: Self
const COMPONENT_MAX: Self
The maximum component value
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".