Trait picto::pixel::Channel[][src]

pub trait Channel: Zero + Copy + 'static {
    fn from<T: Float + 'static>(value: T) -> Self;
}
Expand description

A Channel abstracts away the underlying type the Pixel components are stored as.

Required methods

Convert the passed value to a proper Channel.

Implementations on Foreign Types

Implementors