trait PixmapExt: Sized {
// Required methods
fn try_create(width: u32, height: u32) -> Result<Pixmap, Error>;
fn copy_region(&self, region: IntRect) -> Result<Pixmap, Error>;
fn clear(&mut self);
fn into_srgb(&mut self);
fn into_linear_rgb(&mut self);
}Required Methods§
fn try_create(width: u32, height: u32) -> Result<Pixmap, Error>
fn copy_region(&self, region: IntRect) -> Result<Pixmap, Error>
fn clear(&mut self)
fn into_srgb(&mut self)
fn into_linear_rgb(&mut self)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.