pub trait DynResource:
Any
+ WasmNotSendSync
+ 'static {
// Required methods
fn as_any(&self) -> &dyn Any;
fn as_any_mut(&mut self) -> &mut dyn Any;
}
Expand description
Base trait for all resources, allows downcasting via Any
.
Required Methods§
Implementors§
impl DynResource for Context
impl DynResource for Encoder
impl DynResource for Resource
impl DynResource for AccelerationStructure
Available on
gles
only.impl DynResource for Adapter
Available on
gles
only.impl DynResource for BindGroup
Available on
gles
only.impl DynResource for BindGroupLayout
Available on
gles
only.impl DynResource for Buffer
Available on
gles
only.impl DynResource for CommandBuffer
Available on
gles
only.impl DynResource for CommandEncoder
Available on
gles
only.impl DynResource for ComputePipeline
Available on
gles
only.impl DynResource for Device
Available on
gles
only.impl DynResource for Fence
Available on
gles
only.impl DynResource for PipelineCache
Available on
gles
only.impl DynResource for PipelineLayout
Available on
gles
only.impl DynResource for QuerySet
Available on
gles
only.impl DynResource for Queue
Available on
gles
only.impl DynResource for RenderPipeline
Available on
gles
only.impl DynResource for Sampler
Available on
gles
only.impl DynResource for ShaderModule
Available on
gles
only.impl DynResource for Texture
Available on
gles
only.impl DynResource for TextureView
Available on
gles
only.