pub trait ResourceType {
    const TYPE: &'static str;
}

Required Associated Constants§

source

const TYPE: &'static str

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: ResourceType> ResourceType for Arc<T>

source§

const TYPE: &'static str = T::TYPE

Implementors§

source§

impl ResourceType for BindGroup

source§

const TYPE: &'static str = "BindGroup"

source§

impl ResourceType for BindGroupLayout

source§

const TYPE: &'static str = "BindGroupLayout"

source§

impl ResourceType for PipelineLayout

source§

const TYPE: &'static str = "PipelineLayout"

source§

impl ResourceType for CommandBuffer

source§

const TYPE: &'static str = "CommandBuffer"

source§

impl ResourceType for RenderBundle

source§

const TYPE: &'static str = "RenderBundle"

source§

impl ResourceType for Queue

source§

const TYPE: &'static str = "Queue"

source§

impl ResourceType for Device

source§

const TYPE: &'static str = "Device"

source§

impl ResourceType for Adapter

source§

const TYPE: &'static str = "Adapter"

source§

impl ResourceType for Surface

source§

const TYPE: &'static str = "Surface"

source§

impl ResourceType for ComputePipeline

source§

const TYPE: &'static str = "ComputePipeline"

source§

impl ResourceType for PipelineCache

source§

const TYPE: &'static str = "PipelineCache"

source§

impl ResourceType for RenderPipeline

source§

const TYPE: &'static str = "RenderPipeline"

source§

impl ResourceType for ShaderModule

source§

const TYPE: &'static str = "ShaderModule"

source§

impl ResourceType for Blas

source§

const TYPE: &'static str = "Blas"

source§

impl ResourceType for Buffer

source§

const TYPE: &'static str = "Buffer"

source§

impl ResourceType for QuerySet

source§

const TYPE: &'static str = "QuerySet"

source§

impl ResourceType for Sampler

source§

const TYPE: &'static str = "Sampler"

source§

impl ResourceType for StagingBuffer

source§

const TYPE: &'static str = "StagingBuffer"

source§

impl ResourceType for Texture

source§

const TYPE: &'static str = "Texture"

source§

impl ResourceType for TextureView

source§

const TYPE: &'static str = "TextureView"

source§

impl ResourceType for Tlas

source§

const TYPE: &'static str = "Tlas"

source§

impl<T: ParentDevice> ResourceType for Fallible<T>

source§

const TYPE: &'static str = T::TYPE