[−][src]Trait vulkanalia::vk::Handle
A Vulkan handle type.
Associated Types
type Repr
The underlying type for this handle type.
Associated Constants
const TYPE: ObjectType
The object type for this handle type.
Required methods
fn null() -> Self
Constructs a null instance of this handle type.
fn from_raw(value: Self::Repr) -> Self
Constructs an instance of this handle type with the supplied underlying value.
fn as_raw(self) -> Self::Repr
Gets the underlying value for this handle.
fn is_null(self) -> bool
Returns whether this handle is a null handle.
Implementors
impl Handle for AccelerationStructureKHR
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> AccelerationStructureKHR
[src]
fn from_raw(
value: <AccelerationStructureKHR as Handle>::Repr
) -> AccelerationStructureKHR
[src]
value: <AccelerationStructureKHR as Handle>::Repr
) -> AccelerationStructureKHR
fn as_raw(self) -> <AccelerationStructureKHR as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for Buffer
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> Buffer
[src]
fn from_raw(value: <Buffer as Handle>::Repr) -> Buffer
[src]
fn as_raw(self) -> <Buffer as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for BufferView
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> BufferView
[src]
fn from_raw(value: <BufferView as Handle>::Repr) -> BufferView
[src]
fn as_raw(self) -> <BufferView as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for CommandBuffer
[src]
type Repr = usize
const TYPE: ObjectType
[src]
fn null() -> CommandBuffer
[src]
fn from_raw(value: <CommandBuffer as Handle>::Repr) -> CommandBuffer
[src]
fn as_raw(self) -> <CommandBuffer as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for CommandPool
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> CommandPool
[src]
fn from_raw(value: <CommandPool as Handle>::Repr) -> CommandPool
[src]
fn as_raw(self) -> <CommandPool as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for DebugReportCallbackEXT
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> DebugReportCallbackEXT
[src]
fn from_raw(
value: <DebugReportCallbackEXT as Handle>::Repr
) -> DebugReportCallbackEXT
[src]
value: <DebugReportCallbackEXT as Handle>::Repr
) -> DebugReportCallbackEXT
fn as_raw(self) -> <DebugReportCallbackEXT as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for DebugUtilsMessengerEXT
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> DebugUtilsMessengerEXT
[src]
fn from_raw(
value: <DebugUtilsMessengerEXT as Handle>::Repr
) -> DebugUtilsMessengerEXT
[src]
value: <DebugUtilsMessengerEXT as Handle>::Repr
) -> DebugUtilsMessengerEXT
fn as_raw(self) -> <DebugUtilsMessengerEXT as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for DeferredOperationKHR
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> DeferredOperationKHR
[src]
fn from_raw(
value: <DeferredOperationKHR as Handle>::Repr
) -> DeferredOperationKHR
[src]
value: <DeferredOperationKHR as Handle>::Repr
) -> DeferredOperationKHR
fn as_raw(self) -> <DeferredOperationKHR as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for DescriptorPool
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> DescriptorPool
[src]
fn from_raw(value: <DescriptorPool as Handle>::Repr) -> DescriptorPool
[src]
fn as_raw(self) -> <DescriptorPool as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for DescriptorSet
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> DescriptorSet
[src]
fn from_raw(value: <DescriptorSet as Handle>::Repr) -> DescriptorSet
[src]
fn as_raw(self) -> <DescriptorSet as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for DescriptorSetLayout
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> DescriptorSetLayout
[src]
fn from_raw(value: <DescriptorSetLayout as Handle>::Repr) -> DescriptorSetLayout
[src]
fn as_raw(self) -> <DescriptorSetLayout as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for DescriptorUpdateTemplate
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> DescriptorUpdateTemplate
[src]
fn from_raw(
value: <DescriptorUpdateTemplate as Handle>::Repr
) -> DescriptorUpdateTemplate
[src]
value: <DescriptorUpdateTemplate as Handle>::Repr
) -> DescriptorUpdateTemplate
fn as_raw(self) -> <DescriptorUpdateTemplate as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for Device
[src]
type Repr = usize
const TYPE: ObjectType
[src]
fn null() -> Device
[src]
fn from_raw(value: <Device as Handle>::Repr) -> Device
[src]
fn as_raw(self) -> <Device as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for DeviceMemory
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> DeviceMemory
[src]
fn from_raw(value: <DeviceMemory as Handle>::Repr) -> DeviceMemory
[src]
fn as_raw(self) -> <DeviceMemory as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for DisplayKHR
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> DisplayKHR
[src]
fn from_raw(value: <DisplayKHR as Handle>::Repr) -> DisplayKHR
[src]
fn as_raw(self) -> <DisplayKHR as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for DisplayModeKHR
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> DisplayModeKHR
[src]
fn from_raw(value: <DisplayModeKHR as Handle>::Repr) -> DisplayModeKHR
[src]
fn as_raw(self) -> <DisplayModeKHR as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for Event
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> Event
[src]
fn from_raw(value: <Event as Handle>::Repr) -> Event
[src]
fn as_raw(self) -> <Event as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for Fence
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> Fence
[src]
fn from_raw(value: <Fence as Handle>::Repr) -> Fence
[src]
fn as_raw(self) -> <Fence as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for Framebuffer
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> Framebuffer
[src]
fn from_raw(value: <Framebuffer as Handle>::Repr) -> Framebuffer
[src]
fn as_raw(self) -> <Framebuffer as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for Image
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> Image
[src]
fn from_raw(value: <Image as Handle>::Repr) -> Image
[src]
fn as_raw(self) -> <Image as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for ImageView
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> ImageView
[src]
fn from_raw(value: <ImageView as Handle>::Repr) -> ImageView
[src]
fn as_raw(self) -> <ImageView as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for IndirectCommandsLayoutNV
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> IndirectCommandsLayoutNV
[src]
fn from_raw(
value: <IndirectCommandsLayoutNV as Handle>::Repr
) -> IndirectCommandsLayoutNV
[src]
value: <IndirectCommandsLayoutNV as Handle>::Repr
) -> IndirectCommandsLayoutNV
fn as_raw(self) -> <IndirectCommandsLayoutNV as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for Instance
[src]
type Repr = usize
const TYPE: ObjectType
[src]
fn null() -> Instance
[src]
fn from_raw(value: <Instance as Handle>::Repr) -> Instance
[src]
fn as_raw(self) -> <Instance as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for PerformanceConfigurationINTEL
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> PerformanceConfigurationINTEL
[src]
fn from_raw(
value: <PerformanceConfigurationINTEL as Handle>::Repr
) -> PerformanceConfigurationINTEL
[src]
value: <PerformanceConfigurationINTEL as Handle>::Repr
) -> PerformanceConfigurationINTEL
fn as_raw(self) -> <PerformanceConfigurationINTEL as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for PhysicalDevice
[src]
type Repr = usize
const TYPE: ObjectType
[src]
fn null() -> PhysicalDevice
[src]
fn from_raw(value: <PhysicalDevice as Handle>::Repr) -> PhysicalDevice
[src]
fn as_raw(self) -> <PhysicalDevice as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for Pipeline
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> Pipeline
[src]
fn from_raw(value: <Pipeline as Handle>::Repr) -> Pipeline
[src]
fn as_raw(self) -> <Pipeline as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for PipelineCache
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> PipelineCache
[src]
fn from_raw(value: <PipelineCache as Handle>::Repr) -> PipelineCache
[src]
fn as_raw(self) -> <PipelineCache as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for PipelineLayout
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> PipelineLayout
[src]
fn from_raw(value: <PipelineLayout as Handle>::Repr) -> PipelineLayout
[src]
fn as_raw(self) -> <PipelineLayout as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for PrivateDataSlotEXT
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> PrivateDataSlotEXT
[src]
fn from_raw(value: <PrivateDataSlotEXT as Handle>::Repr) -> PrivateDataSlotEXT
[src]
fn as_raw(self) -> <PrivateDataSlotEXT as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for QueryPool
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> QueryPool
[src]
fn from_raw(value: <QueryPool as Handle>::Repr) -> QueryPool
[src]
fn as_raw(self) -> <QueryPool as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for Queue
[src]
type Repr = usize
const TYPE: ObjectType
[src]
fn null() -> Queue
[src]
fn from_raw(value: <Queue as Handle>::Repr) -> Queue
[src]
fn as_raw(self) -> <Queue as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for RenderPass
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> RenderPass
[src]
fn from_raw(value: <RenderPass as Handle>::Repr) -> RenderPass
[src]
fn as_raw(self) -> <RenderPass as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for Sampler
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> Sampler
[src]
fn from_raw(value: <Sampler as Handle>::Repr) -> Sampler
[src]
fn as_raw(self) -> <Sampler as Handle>::Repr
[src]
fn is_null(self) -> bool
[src]
impl Handle for SamplerYcbcrConversion
[src]
type Repr = u64
const TYPE: ObjectType
[src]
fn null() -> SamplerYcbcrConversion
[src]
fn from_raw(
value: <SamplerYcbcrConversion as Handle>::Repr
) -> SamplerYcbcrConversion
[src]
value: <SamplerYcbcrConversion as Handle>::Repr
) -> SamplerYcbcrConversion