Skip to main content

ImageEncoderBoxed

Trait ImageEncoderBoxed 

Source
pub(crate) trait ImageEncoderBoxed: ImageEncoder {
    // Required method
    fn write_image(
        self: Box<Self>,
        buf: &[u8],
        width: u32,
        height: u32,
        color: ExtendedColorType,
    ) -> ImageResult<()>;
}

Required Methods§

Source

fn write_image( self: Box<Self>, buf: &[u8], width: u32, height: u32, color: ExtendedColorType, ) -> ImageResult<()>

Implementors§