Realm

vk · Structs · E1

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::Event

Contract

Raw Vulkan handle VkEvent.

Khronos reference: VkEvent Calls using this identity must satisfy Vulkan lifetime and synchronization rules.

Fields

0

Field
0: u64
No public source comment is attached to this declaration.

Methods and associated items

NULL

Method
pub const NULL: Self
No public source comment is attached to this declaration.

is_null

Method
pub fn is_null(self) -> bool
No public source comment is attached to this declaration.

from_raw

Method
pub fn from_raw(value: u64) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub fn as_raw(self) -> u64
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

eq

Method
fn eq(&self, other: &Event) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::EventCreateFlagBits

Contract

Open integer representation of VkEventCreateFlagBits.

Khronos reference: VkEventCreateFlagBits

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = EventCreateFlagBits
The resulting type after applying the & operator.

Output-1

Method
type Output = EventCreateFlagBits
The resulting type after applying the | operator.

Output-2

Method
type Output = EventCreateFlagBits
The resulting type after applying the ^ operator.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> EventCreateFlagBits
Returns the “default value” for a type. Read more

Output-3

Method
type Output = EventCreateFlagBits
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &EventCreateFlagBits) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::EventCreateInfo

Contract

Native structure VkEventCreateInfo.

Khronos reference: VkEventCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: EventCreateFlags

Native field flags.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: EventCreateFlags) -> Self

Set native field flags without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExecutionGraphPipelineCreateInfoAMDX

pub struct ExecutionGraphPipelineCreateInfoAMDX<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PipelineCreateFlags, pub stage_count: u32, pub p_stages: *const PipelineShaderStageCreateInfo<'a>, pub p_library_info: *const PipelineLibraryCreateInfoKHR<'a>, pub layout: PipelineLayout, pub base_pipeline_handle: Pipeline, pub base_pipeline_index: i32, /* private fields */ }
Native structure VkExecutionGraphPipelineCreateInfoAMDX.

Contract

Native structure VkExecutionGraphPipelineCreateInfoAMDX.

Khronos reference: VkExecutionGraphPipelineCreateInfoAMDX

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PipelineCreateFlags

Native field flags.

stage_count

Field
stage_count: u32

Native field stageCount.

p_stages

Field
p_stages: *const PipelineShaderStageCreateInfo<'a>

Native field pStages.

p_library_info

Field
p_library_info: *const PipelineLibraryCreateInfoKHR<'a>

Native field pLibraryInfo.

layout

Field
layout: PipelineLayout

Native field layout.

base_pipeline_handle

Field
base_pipeline_handle: Pipeline

Native field basePipelineHandle.

base_pipeline_index

Field
base_pipeline_index: i32

Native field basePipelineIndex.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: PipelineCreateFlags) -> Self

Set native field flags without native effects.

set_stage_count

Method
pub fn set_stage_count(self, value: u32) -> Self

Set native count stageCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_stages

Method
pub fn set_stages( self, value: &'a [PipelineShaderStageCreateInfo<'a>], ) -> Result<Self, ConstructionError>

Borrow pStages and set checked native count stageCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

set_library_info

Method
pub fn set_library_info( self, value: &'a PipelineLibraryCreateInfoKHR<'a>, ) -> Self

Set native field pLibraryInfo without native effects.

set_layout

Method
pub fn set_layout(self, value: PipelineLayout) -> Self

Set native field layout without native effects.

set_base_pipeline_handle

Method
pub fn set_base_pipeline_handle(self, value: Pipeline) -> Self

Set native field basePipelineHandle without native effects.

set_base_pipeline_index

Method
pub fn set_base_pipeline_index(self, value: i32) -> Self

Set native field basePipelineIndex without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExecutionGraphPipelineScratchSizeAMDX

pub struct ExecutionGraphPipelineScratchSizeAMDX<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub min_size: DeviceSize, pub max_size: DeviceSize, pub size_granularity: DeviceSize, /* private fields */ }
Native structure VkExecutionGraphPipelineScratchSizeAMDX.

Contract

Native structure VkExecutionGraphPipelineScratchSizeAMDX.

Khronos reference: VkExecutionGraphPipelineScratchSizeAMDX

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

min_size

Field
min_size: DeviceSize

Native field minSize.

max_size

Field
max_size: DeviceSize

Native field maxSize.

size_granularity

Field
size_granularity: DeviceSize

Native field sizeGranularity.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_min_size

Method
pub fn set_min_size(self, value: DeviceSize) -> Self

Set native field minSize without native effects.

set_max_size

Method
pub fn set_max_size(self, value: DeviceSize) -> Self

Set native field maxSize without native effects.

set_size_granularity

Method
pub fn set_size_granularity(self, value: DeviceSize) -> Self

Set native field sizeGranularity without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportFenceCreateInfo

pub struct ExportFenceCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub handle_types: ExternalFenceHandleTypeFlags, /* private fields */ }
Native structure VkExportFenceCreateInfo.

Contract

Native structure VkExportFenceCreateInfo.

Khronos reference: VkExportFenceCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

handle_types

Field
handle_types: ExternalFenceHandleTypeFlags

Native field handleTypes.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_handle_types

Method
pub fn set_handle_types(self, value: ExternalFenceHandleTypeFlags) -> Self

Set native field handleTypes without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportFenceWin32HandleInfoKHR

pub struct ExportFenceWin32HandleInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_attributes: *const SECURITY_ATTRIBUTES, pub dw_access: DWORD, pub name: LPCWSTR, /* private fields */ }
Native structure VkExportFenceWin32HandleInfoKHR.

Contract

Native structure VkExportFenceWin32HandleInfoKHR.

Khronos reference: VkExportFenceWin32HandleInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_attributes

Field
p_attributes: *const SECURITY_ATTRIBUTES

Native field pAttributes.

dw_access

Field
dw_access: DWORD

Native field dwAccess.

name

Field
name: LPCWSTR

Native field name.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_attributes

Method
pub unsafe fn set_attributes(self, value: *const SECURITY_ATTRIBUTES) -> Self

Set native pointer pAttributes explicitly. No borrow or extent is inferred.

Safety

The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.

set_dw_access

Method
pub fn set_dw_access(self, value: DWORD) -> Self

Set native field dwAccess without native effects.

set_name

Method
pub fn set_name(self, value: LPCWSTR) -> Self

Set native field name without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportMemoryAllocateInfo

pub struct ExportMemoryAllocateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub handle_types: ExternalMemoryHandleTypeFlags, /* private fields */ }
Native structure VkExportMemoryAllocateInfo.

Contract

Native structure VkExportMemoryAllocateInfo.

Khronos reference: VkExportMemoryAllocateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

handle_types

Field
handle_types: ExternalMemoryHandleTypeFlags

Native field handleTypes.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_handle_types

Method
pub fn set_handle_types(self, value: ExternalMemoryHandleTypeFlags) -> Self

Set native field handleTypes without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportMemoryAllocateInfoNV

pub struct ExportMemoryAllocateInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub handle_types: ExternalMemoryHandleTypeFlagsNV, /* private fields */ }
Native structure VkExportMemoryAllocateInfoNV.

Contract

Native structure VkExportMemoryAllocateInfoNV.

Khronos reference: VkExportMemoryAllocateInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

handle_types

Field
handle_types: ExternalMemoryHandleTypeFlagsNV

Native field handleTypes.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_handle_types

Method
pub fn set_handle_types(self, value: ExternalMemoryHandleTypeFlagsNV) -> Self

Set native field handleTypes without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportMemoryWin32HandleInfoKHR

pub struct ExportMemoryWin32HandleInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_attributes: *const SECURITY_ATTRIBUTES, pub dw_access: DWORD, pub name: LPCWSTR, /* private fields */ }
Native structure VkExportMemoryWin32HandleInfoKHR.

Contract

Native structure VkExportMemoryWin32HandleInfoKHR.

Khronos reference: VkExportMemoryWin32HandleInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_attributes

Field
p_attributes: *const SECURITY_ATTRIBUTES

Native field pAttributes.

dw_access

Field
dw_access: DWORD

Native field dwAccess.

name

Field
name: LPCWSTR

Native field name.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_attributes

Method
pub unsafe fn set_attributes(self, value: *const SECURITY_ATTRIBUTES) -> Self

Set native pointer pAttributes explicitly. No borrow or extent is inferred.

Safety

The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.

set_dw_access

Method
pub fn set_dw_access(self, value: DWORD) -> Self

Set native field dwAccess without native effects.

set_name

Method
pub fn set_name(self, value: LPCWSTR) -> Self

Set native field name without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportMemoryWin32HandleInfoNV

pub struct ExportMemoryWin32HandleInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_attributes: *const SECURITY_ATTRIBUTES, pub dw_access: DWORD, /* private fields */ }
Native structure VkExportMemoryWin32HandleInfoNV.

Contract

Native structure VkExportMemoryWin32HandleInfoNV.

Khronos reference: VkExportMemoryWin32HandleInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_attributes

Field
p_attributes: *const SECURITY_ATTRIBUTES

Native field pAttributes.

dw_access

Field
dw_access: DWORD

Native field dwAccess.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_attributes

Method
pub unsafe fn set_attributes(self, value: *const SECURITY_ATTRIBUTES) -> Self

Set native pointer pAttributes explicitly. No borrow or extent is inferred.

Safety

The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.

set_dw_access

Method
pub fn set_dw_access(self, value: DWORD) -> Self

Set native field dwAccess without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportMetalBufferInfoEXT

pub struct ExportMetalBufferInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub memory: DeviceMemory, pub mtl_buffer: MTLBuffer_id, /* private fields */ }
Native structure VkExportMetalBufferInfoEXT.

Contract

Native structure VkExportMetalBufferInfoEXT.

Khronos reference: VkExportMetalBufferInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

memory

Field
memory: DeviceMemory

Native field memory.

mtl_buffer

Field
mtl_buffer: MTLBuffer_id

Native field mtlBuffer.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_memory

Method
pub fn set_memory(self, value: DeviceMemory) -> Self

Set native field memory without native effects.

set_mtl_buffer

Method
pub fn set_mtl_buffer(self, value: MTLBuffer_id) -> Self

Set native field mtlBuffer without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportMetalCommandQueueInfoEXT

pub struct ExportMetalCommandQueueInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub queue: Queue, pub mtl_command_queue: MTLCommandQueue_id, /* private fields */ }
Native structure VkExportMetalCommandQueueInfoEXT.

Contract

Native structure VkExportMetalCommandQueueInfoEXT.

Khronos reference: VkExportMetalCommandQueueInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

queue

Field
queue: Queue

Native field queue.

mtl_command_queue

Field
mtl_command_queue: MTLCommandQueue_id

Native field mtlCommandQueue.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_queue

Method
pub fn set_queue(self, value: Queue) -> Self

Set native field queue without native effects.

set_mtl_command_queue

Method
pub fn set_mtl_command_queue(self, value: MTLCommandQueue_id) -> Self

Set native field mtlCommandQueue without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportMetalDeviceInfoEXT

pub struct ExportMetalDeviceInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub mtl_device: MTLDevice_id, /* private fields */ }
Native structure VkExportMetalDeviceInfoEXT.

Contract

Native structure VkExportMetalDeviceInfoEXT.

Khronos reference: VkExportMetalDeviceInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

mtl_device

Field
mtl_device: MTLDevice_id

Native field mtlDevice.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_mtl_device

Method
pub fn set_mtl_device(self, value: MTLDevice_id) -> Self

Set native field mtlDevice without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportMetalIOSurfaceInfoEXT

pub struct ExportMetalIOSurfaceInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub image: Image, pub io_surface: IOSurfaceRef, /* private fields */ }
Native structure VkExportMetalIOSurfaceInfoEXT.

Contract

Native structure VkExportMetalIOSurfaceInfoEXT.

Khronos reference: VkExportMetalIOSurfaceInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

image

Field
image: Image

Native field image.

io_surface

Field
io_surface: IOSurfaceRef

Native field ioSurface.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_image

Method
pub fn set_image(self, value: Image) -> Self

Set native field image without native effects.

set_io_surface

Method
pub fn set_io_surface(self, value: IOSurfaceRef) -> Self

Set native field ioSurface without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ExportMetalObjectCreateInfoEXT

pub struct ExportMetalObjectCreateInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub export_object_type: ExportMetalObjectTypeFlagBitsEXT, /* private fields */ }
Native structure VkExportMetalObjectCreateInfoEXT.

Contract

Native structure VkExportMetalObjectCreateInfoEXT.

Khronos reference: VkExportMetalObjectCreateInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

export_object_type

Field
export_object_type: ExportMetalObjectTypeFlagBitsEXT

Native field exportObjectType.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_export_object_type

Method
pub fn set_export_object_type( self, value: ExportMetalObjectTypeFlagBitsEXT, ) -> Self

Set native field exportObjectType without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.