pub trait Image2DTrait: Image2DTraitConst {
// Required method
fn as_raw_mut_Image2D(&mut self) -> *mut c_void;
// Provided methods
fn set(&mut self, i: &impl Image2DTraitConst) -> Result<()> { ... }
fn set_1(&mut self, unnamed: Image2D) { ... }
}
Expand description
Mutable methods for core::Image2D
Required Methods§
fn as_raw_mut_Image2D(&mut self) -> *mut c_void
Provided Methods§
fn set(&mut self, i: &impl Image2DTraitConst) -> Result<()>
fn set_1(&mut self, unnamed: Image2D)
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.