pub trait TextureInterface: CommonTraits {
// Required methods
fn create_view(
&self,
desc: &TextureViewDescriptor<'_>,
) -> DispatchTextureView;
fn destroy(&self);
}Available on
custom only.Required Methods§
fn create_view(&self, desc: &TextureViewDescriptor<'_>) -> DispatchTextureView
fn destroy(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".