Trait image::ConvertBuffer [] [src]

pub trait ConvertBuffer<T> {
    fn convert(&self) -> T;
}

Provides color conversions for whole image buffers.

Required Methods

Converts self to a buffer of type T

A generic implementation is provided to convert any image buffer to a image buffer based on a Vec<T>.

Implementors