Trait image2::image::Convert

source ·
pub trait Convert<FromType: Type, FromColor: Color, ToType: Type, ToColor: Color> {
    fn convert(&self, to: &mut impl Image<ToType, ToColor>);
}
Expand description

Provides a way to convert between image types

Required Methods§

Implementors§