Skip to main content

RdKind

Trait RdKind 

Source
pub trait RdKind {
    const LABEL: &'static str;
}
Expand description

WHAT kind of RID — a compile-time marker only.

Required Associated Constants§

Source

const LABEL: &'static str

Human-readable kind name, for diagnostics.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl RdKind for Buffer

Source§

const LABEL: &'static str = "buffer"

Source§

impl RdKind for Pipeline

Source§

const LABEL: &'static str = "pipeline"

Source§

impl RdKind for Shader

Source§

const LABEL: &'static str = "shader"

Source§

impl RdKind for Texture

Source§

const LABEL: &'static str = "texture"

Source§

impl RdKind for UniformSet

Source§

const LABEL: &'static str = "uniform_set"