Trait vek::ops::ColorComponent
[−]
[src]
pub trait ColorComponent: Zero { fn full() -> Self; }
Trait for types that are suitable for representing a color component value.
Required Methods
fn full() -> Self
The minimum value such that the color is at its maximum.
In pratice, it yields T::MAX
for integers and 1
for real number types.