pub(crate) trait ImageEncoderBoxed: ImageEncoder {
// Required method
fn write_image(
self: Box<Self>,
buf: &[u8],
width: u32,
height: u32,
color: ExtendedColorType,
) -> ImageResult<()>;
}Required Methods§
fn write_image( self: Box<Self>, buf: &[u8], width: u32, height: u32, color: ExtendedColorType, ) -> ImageResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".