pub trait GpuImage {
// Required methods
fn image(&self) -> Image;
fn view(&self) -> ImageView;
fn extent(&self) -> Extent2D;
fn format(&self) -> Format;
fn kind(&self) -> ResourceKind;
}Required Methods§
fn image(&self) -> Image
fn view(&self) -> ImageView
fn extent(&self) -> Extent2D
fn format(&self) -> Format
fn kind(&self) -> ResourceKind
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".