pub trait ColorComponent: Zero {
    fn full() -> Self;
}
Expand description

Trait for types that are suitable for representing a color component value.

Required Methods

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.

Implementations on Foreign Types

Implementors