pub trait Component: Copy + Zero + PartialOrd {
fn max_intensity() -> Self;
}
Expand description
Common trait for color components.
Required Methods
fn max_intensity() -> Self
fn max_intensity() -> Self
The highest displayable value this component type can reach. Higher values are allowed, but they may be lowered to this before converting to another format.