wgpu_hal

Trait DynTexture

Source
pub trait DynTexture: DynResource + Debug { }

Trait Implementations§

Source§

impl Borrow<dyn DynTexture> for Resource

Source§

fn borrow(&self) -> &dyn DynTexture

Immutably borrows from an owned value. Read more
Source§

impl Borrow<dyn DynTexture> for SurfaceTexture

Available on vulkan only.
Source§

fn borrow(&self) -> &dyn DynTexture

Immutably borrows from an owned value. Read more
Source§

impl Borrow<dyn DynTexture> for Texture

Available on gles only.
Source§

fn borrow(&self) -> &dyn DynTexture

Immutably borrows from an owned value. Read more

Implementors§

Source§

impl DynTexture for Resource

Source§

impl DynTexture for wgpu_hal::gles::Texture

Available on gles only.
Source§

impl DynTexture for wgpu_hal::vulkan::Texture

Available on vulkan only.