ash::vk

Trait Handle

Source
pub trait Handle {
    const TYPE: ObjectType;

    // Required methods
    fn as_raw(self) -> u64;
    fn from_raw(_: u64) -> Self;
}

Required Associated Constants§

Required Methods§

Source

fn as_raw(self) -> u64

Source

fn from_raw(_: u64) -> Self

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 Handle for GpaSessionAmd

Source§

const TYPE: ObjectType = ObjectType::UNKNOWN

Source§

impl Handle for AccelerationStructureKHR

Source§

const TYPE: ObjectType = ObjectType::ACCELERATION_STRUCTURE_KHR

Source§

impl Handle for AccelerationStructureNV

Source§

const TYPE: ObjectType = ObjectType::ACCELERATION_STRUCTURE_NV

Source§

impl Handle for Buffer

Source§

const TYPE: ObjectType = ObjectType::BUFFER

Source§

impl Handle for BufferCollectionFUCHSIA

Source§

const TYPE: ObjectType = ObjectType::BUFFER_COLLECTION_FUCHSIA

Source§

impl Handle for BufferView

Source§

const TYPE: ObjectType = ObjectType::BUFFER_VIEW

Source§

impl Handle for CommandBuffer

Source§

const TYPE: ObjectType = ObjectType::COMMAND_BUFFER

Source§

impl Handle for CommandPool

Source§

const TYPE: ObjectType = ObjectType::COMMAND_POOL

Source§

impl Handle for CuFunctionNVX

Source§

const TYPE: ObjectType = ObjectType::CU_FUNCTION_NVX

Source§

impl Handle for CuModuleNVX

Source§

const TYPE: ObjectType = ObjectType::CU_MODULE_NVX

Source§

impl Handle for DebugReportCallbackEXT

Source§

const TYPE: ObjectType = ObjectType::DEBUG_REPORT_CALLBACK_EXT

Source§

impl Handle for DebugUtilsMessengerEXT

Source§

const TYPE: ObjectType = ObjectType::DEBUG_UTILS_MESSENGER_EXT

Source§

impl Handle for DeferredOperationKHR

Source§

const TYPE: ObjectType = ObjectType::DEFERRED_OPERATION_KHR

Source§

impl Handle for DescriptorPool

Source§

const TYPE: ObjectType = ObjectType::DESCRIPTOR_POOL

Source§

impl Handle for DescriptorSet

Source§

const TYPE: ObjectType = ObjectType::DESCRIPTOR_SET

Source§

impl Handle for DescriptorSetLayout

Source§

const TYPE: ObjectType = ObjectType::DESCRIPTOR_SET_LAYOUT

Source§

impl Handle for DescriptorUpdateTemplate

Source§

const TYPE: ObjectType = ObjectType::DESCRIPTOR_UPDATE_TEMPLATE

Source§

impl Handle for Device

Source§

const TYPE: ObjectType = ObjectType::DEVICE

Source§

impl Handle for DeviceMemory

Source§

const TYPE: ObjectType = ObjectType::DEVICE_MEMORY

Source§

impl Handle for DisplayKHR

Source§

const TYPE: ObjectType = ObjectType::DISPLAY_KHR

Source§

impl Handle for DisplayModeKHR

Source§

const TYPE: ObjectType = ObjectType::DISPLAY_MODE_KHR

Source§

impl Handle for Event

Source§

const TYPE: ObjectType = ObjectType::EVENT

Source§

impl Handle for Fence

Source§

const TYPE: ObjectType = ObjectType::FENCE

Source§

impl Handle for Framebuffer

Source§

const TYPE: ObjectType = ObjectType::FRAMEBUFFER

Source§

impl Handle for Image

Source§

const TYPE: ObjectType = ObjectType::IMAGE

Source§

impl Handle for ImageView

Source§

const TYPE: ObjectType = ObjectType::IMAGE_VIEW

Source§

impl Handle for IndirectCommandsLayoutNV

Source§

const TYPE: ObjectType = ObjectType::INDIRECT_COMMANDS_LAYOUT_NV

Source§

impl Handle for Instance

Source§

const TYPE: ObjectType = ObjectType::INSTANCE

Source§

impl Handle for MicromapEXT

Source§

const TYPE: ObjectType = ObjectType::MICROMAP_EXT

Source§

impl Handle for OpticalFlowSessionNV

Source§

const TYPE: ObjectType = ObjectType::OPTICAL_FLOW_SESSION_NV

Source§

impl Handle for PerformanceConfigurationINTEL

Source§

const TYPE: ObjectType = ObjectType::PERFORMANCE_CONFIGURATION_INTEL

Source§

impl Handle for PhysicalDevice

Source§

const TYPE: ObjectType = ObjectType::PHYSICAL_DEVICE

Source§

impl Handle for Pipeline

Source§

const TYPE: ObjectType = ObjectType::PIPELINE

Source§

impl Handle for PipelineCache

Source§

const TYPE: ObjectType = ObjectType::PIPELINE_CACHE

Source§

impl Handle for PipelineLayout

Source§

const TYPE: ObjectType = ObjectType::PIPELINE_LAYOUT

Source§

impl Handle for PrivateDataSlot

Source§

const TYPE: ObjectType = ObjectType::PRIVATE_DATA_SLOT

Source§

impl Handle for QueryPool

Source§

const TYPE: ObjectType = ObjectType::QUERY_POOL

Source§

impl Handle for Queue

Source§

const TYPE: ObjectType = ObjectType::QUEUE

Source§

impl Handle for RenderPass

Source§

const TYPE: ObjectType = ObjectType::RENDER_PASS

Source§

impl Handle for Sampler

Source§

const TYPE: ObjectType = ObjectType::SAMPLER

Source§

impl Handle for SamplerYcbcrConversion

Source§

const TYPE: ObjectType = ObjectType::SAMPLER_YCBCR_CONVERSION

Source§

impl Handle for Semaphore

Source§

const TYPE: ObjectType = ObjectType::SEMAPHORE

Source§

impl Handle for ShaderEXT

Source§

const TYPE: ObjectType = ObjectType::SHADER_EXT

Source§

impl Handle for ShaderModule

Source§

const TYPE: ObjectType = ObjectType::SHADER_MODULE

Source§

impl Handle for SurfaceKHR

Source§

const TYPE: ObjectType = ObjectType::SURFACE_KHR

Source§

impl Handle for SwapchainKHR

Source§

const TYPE: ObjectType = ObjectType::SWAPCHAIN_KHR

Source§

impl Handle for ValidationCacheEXT

Source§

const TYPE: ObjectType = ObjectType::VALIDATION_CACHE_EXT

Source§

impl Handle for VideoSessionKHR

Source§

const TYPE: ObjectType = ObjectType::VIDEO_SESSION_KHR

Source§

impl Handle for VideoSessionParametersKHR

Source§

const TYPE: ObjectType = ObjectType::VIDEO_SESSION_PARAMETERS_KHR