Trait VkRawHandle

Source
pub trait VkRawHandle {
    const OBJECT_TYPE: VkObjectType;
    const NULL: Self;

    // 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.

Implementors§

Source§

impl VkRawHandle for VkBuffer

Source§

impl VkRawHandle for VkBufferView

Source§

impl VkRawHandle for VkCommandBuffer

Source§

impl VkRawHandle for VkCommandPool

Source§

impl VkRawHandle for VkDebugReportCallbackEXT

Available on crate feature VK_EXT_debug_report only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_011_000i32

Source§

const NULL: Self

Source§

impl VkRawHandle for VkDebugUtilsMessengerEXT

Available on crate feature VK_EXT_debug_utils only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_128_000i32

Source§

const NULL: Self

Source§

impl VkRawHandle for VkDescriptorPool

Source§

impl VkRawHandle for VkDescriptorSet

Source§

impl VkRawHandle for VkDescriptorSetLayout

Source§

impl VkRawHandle for VkDescriptorUpdateTemplateKHR

Available on crate feature VK_KHR_descriptor_update_template only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_085_000i32

Source§

const NULL: Self

Source§

impl VkRawHandle for VkDevice

Source§

impl VkRawHandle for VkDeviceMemory

Source§

impl VkRawHandle for VkDisplayKHR

Available on crate feature VK_KHR_display only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_002_000i32

Source§

const NULL: Self

Source§

impl VkRawHandle for VkDisplayModeKHR

Available on crate feature VK_KHR_display only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_002_001i32

Source§

const NULL: Self

Source§

impl VkRawHandle for VkEvent

Source§

impl VkRawHandle for VkFence

Source§

impl VkRawHandle for VkFramebuffer

Source§

impl VkRawHandle for VkImage

Source§

impl VkRawHandle for VkImageView

Source§

impl VkRawHandle for VkIndirectCommandsLayoutNVX

Available on crate feature VK_NVX_device_generated_commands only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_086_001i32

Source§

const NULL: Self

Source§

impl VkRawHandle for VkInstance

Source§

impl VkRawHandle for VkObjectTableNVX

Available on crate feature VK_NVX_device_generated_commands only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_086_000i32

Source§

const NULL: Self

Source§

impl VkRawHandle for VkPhysicalDevice

Source§

impl VkRawHandle for VkPipeline

Source§

impl VkRawHandle for VkPipelineCache

Source§

impl VkRawHandle for VkPipelineLayout

Source§

impl VkRawHandle for VkQueryPool

Source§

impl VkRawHandle for VkQueue

Source§

impl VkRawHandle for VkRenderPass

Source§

impl VkRawHandle for VkSampler

Source§

impl VkRawHandle for VkSamplerYcbcrConversionKHR

Available on crate feature VK_KHR_sampler_ycbcr_conversion only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_156_000i32

Source§

const NULL: Self

Source§

impl VkRawHandle for VkSemaphore

Source§

impl VkRawHandle for VkShaderModule

Source§

impl VkRawHandle for VkSurfaceKHR

Available on crate feature VK_KHR_surface only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_000_000i32

Source§

const NULL: Self

Source§

impl VkRawHandle for VkSwapchainKHR

Available on crate feature VK_KHR_swapchain only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_001_000i32

Source§

const NULL: Self

Source§

impl VkRawHandle for VkValidationCacheEXT

Available on crate feature VK_EXT_validation_cache only.
Source§

const OBJECT_TYPE: VkObjectType = 1_000_160_000i32

Source§

const NULL: Self