Skip to main content

VkRawHandle

Trait VkRawHandle 

Source
pub trait VkRawHandle {
    const OBJECT_TYPE: VkObjectType;

    // Required method
    fn raw_handle_value(&self) -> u64;
}

Required Associated Constants§

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl<T: VkRawHandle> VkRawHandle for Option<T>

Source§

const OBJECT_TYPE: VkObjectType = T::OBJECT_TYPE

Source§

fn raw_handle_value(&self) -> u64

Implementors§

Source§

impl VkRawHandle for VkBuffer

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_BUFFER

Source§

impl VkRawHandle for VkBufferView

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_BUFFER_VIEW

Source§

impl VkRawHandle for VkCommandBuffer

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_COMMAND_BUFFER

Source§

impl VkRawHandle for VkCommandPool

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_COMMAND_POOL

Source§

impl VkRawHandle for VkDescriptorPool

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_DESCRIPTOR_POOL

Source§

impl VkRawHandle for VkDescriptorSet

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_DESCRIPTOR_SET

Source§

impl VkRawHandle for VkDescriptorSetLayout

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT

Source§

impl VkRawHandle for VkDevice

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_DEVICE

Source§

impl VkRawHandle for VkDeviceMemory

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_DEVICE_MEMORY

Source§

impl VkRawHandle for VkEvent

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_EVENT

Source§

impl VkRawHandle for VkFence

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_FENCE

Source§

impl VkRawHandle for VkFramebuffer

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_FRAMEBUFFER

Source§

impl VkRawHandle for VkImage

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_IMAGE

Source§

impl VkRawHandle for VkImageView

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_IMAGE_VIEW

Source§

impl VkRawHandle for VkInstance

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_INSTANCE

Source§

impl VkRawHandle for VkPhysicalDevice

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_PHYSICAL_DEVICE

Source§

impl VkRawHandle for VkPipeline

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_PIPELINE

Source§

impl VkRawHandle for VkPipelineCache

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_PIPELINE_CACHE

Source§

impl VkRawHandle for VkPipelineLayout

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_PIPELINE_LAYOUT

Source§

impl VkRawHandle for VkQueryPool

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_QUERY_POOL

Source§

impl VkRawHandle for VkQueue

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_QUEUE

Source§

impl VkRawHandle for VkRenderPass

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_RENDER_PASS

Source§

impl VkRawHandle for VkSampler

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_SAMPLER

Source§

impl VkRawHandle for VkSemaphore

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_SEMAPHORE

Source§

impl VkRawHandle for VkShaderModule

Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_SHADER_MODULE

Source§

impl VkRawHandle for VkSurfaceKHR

Available on crate feature VK_KHR_surface only.
Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_SURFACE_KHR

Source§

impl VkRawHandle for VkSwapchainKHR

Available on crate feature VK_KHR_swapchain only.
Source§

const OBJECT_TYPE: VkObjectType = VK_OBJECT_TYPE_SWAPCHAIN_KHR