pub trait DynTexture: DynResource + Debug { }Trait Implementations§
Source§impl Borrow<dyn DynTexture> for Texture
Available on gles only.
impl Borrow<dyn DynTexture> for Texture
Available on
gles only.Source§fn borrow(&self) -> &dyn DynTexture
fn borrow(&self) -> &dyn DynTexture
Immutably borrows from an owned value. Read more
Source§impl Borrow<dyn DynTexture> for Resource
impl Borrow<dyn DynTexture> for Resource
Source§fn borrow(&self) -> &dyn DynTexture
fn borrow(&self) -> &dyn DynTexture
Immutably borrows from an owned value. Read more
Source§impl Borrow<dyn DynTexture> for SurfaceTexture
Available on vulkan only.
impl Borrow<dyn DynTexture> for SurfaceTexture
Available on
vulkan only.Source§fn borrow(&self) -> &dyn DynTexture
fn borrow(&self) -> &dyn DynTexture
Immutably borrows from an owned value. Read more
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl DynTexture for Resource
impl DynTexture for wgpu_hal::gles::Texture
Available on
gles only.impl DynTexture for wgpu_hal::vulkan::Texture
Available on
vulkan only.