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

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

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

Required Methods

Convert the passed value to a proper Channel.

Implementors