Trait Nameable

Source
pub trait Nameable: AsRaw {
    const OBJECT_TYPE: ObjectType;
}
Expand description

Represents an abstraction for naming objects in Vulkan for debuggers

Required Associated Constants§

Source

const OBJECT_TYPE: ObjectType

Change the name of the given object

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 Nameable for Buffer

Source§

const OBJECT_TYPE: ObjectType = vk::ObjectType::BUFFER

Source§

impl Nameable for Image

Source§

const OBJECT_TYPE: ObjectType = vk::ObjectType::IMAGE

Source§

impl Nameable for AccelerationStructure

Source§

const OBJECT_TYPE: ObjectType = vk::ObjectType::ACCELERATION_STRUCTURE_KHR