vk · Structs · D9
16 public declarations with native signatures and source-owned contracts.
Stvk::DeviceFaultAddressInfoKHR
Contract
Native structure VkDeviceFaultAddressInfoKHR.
Fields
address_type
address_type: DeviceFaultAddressTypeKHRNative field addressType.
reported_address
reported_address: DeviceAddressNative field reportedAddress.
address_precision
address_precision: DeviceSizeNative field addressPrecision.
Methods and associated items
new
Construct the record with its default native state.
set_address_type
Set native field addressType without native effects.
set_reported_address
Set native field reportedAddress without native effects.
set_address_precision
Set native field addressPrecision without native effects.
clone
default
Stvk::DeviceFaultAddressTypeKHR
Contract
Open integer representation of VkDeviceFaultAddressTypeKHR.
Fields
0
0: i32Methods and associated items
NONE_KHR
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_KHR.
READ_INVALID_KHR
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_KHR.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_KHR
WRITE_INVALID_KHR
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_KHR.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_KHR
EXECUTE_INVALID_KHR
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_KHR.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_KHR
INSTRUCTION_POINTER_UNKNOWN_KHR
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_KHR.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_KHR
INSTRUCTION_POINTER_INVALID_KHR
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_KHR.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_KHR
INSTRUCTION_POINTER_FAULT_KHR
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_KHR.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_KHR
NONE_EXT
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_NONE_EXT.
READ_INVALID_EXT
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_EXT.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_READ_INVALID_EXT
WRITE_INVALID_EXT
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_EXT.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_WRITE_INVALID_EXT
EXECUTE_INVALID_EXT
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_EXT.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_EXECUTE_INVALID_EXT
INSTRUCTION_POINTER_UNKNOWN_EXT
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_EXT.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_UNKNOWN_EXT
INSTRUCTION_POINTER_INVALID_EXT
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_EXT.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_INVALID_EXT
INSTRUCTION_POINTER_FAULT_EXT
Native value VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_EXT.
Khronos reference: VK_DEVICE_FAULT_ADDRESS_TYPE_INSTRUCTION_POINTER_FAULT_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DeviceFaultCountsEXT
Contract
Native structure VkDeviceFaultCountsEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
address_info_count
address_info_count: u32Native field addressInfoCount.
vendor_info_count
vendor_info_count: u32Native field vendorInfoCount.
vendor_binary_size
vendor_binary_size: DeviceSizeNative field vendorBinarySize.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_address_info_count
Set native field addressInfoCount without native effects.
set_vendor_info_count
Set native field vendorInfoCount without native effects.
set_vendor_binary_size
Set native field vendorBinarySize without native effects.
push_next
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.
default
Stvk::DeviceFaultDebugInfoKHR
Contract
Native structure VkDeviceFaultDebugInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
vendor_binary_size
vendor_binary_size: u32Native field vendorBinarySize.
p_vendor_binary_data
p_vendor_binary_data: *mut c_voidNative field pVendorBinaryData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_vendor_binary_size
Set native count vendorBinarySize 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_vendor_binary_data
Borrow pVendorBinaryData and set checked native byte size vendorBinarySize.
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.
push_next
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.
default
Stvk::DeviceFaultFlagBitsKHR
Contract
Open integer representation of VkDeviceFaultFlagBitsKHR.
Fields
0
0: u32Methods and associated items
FLAG_DEVICE_LOST_KHR
Native value VK_DEVICE_FAULT_FLAG_DEVICE_LOST_KHR.
FLAG_MEMORY_ADDRESS_KHR
Native value VK_DEVICE_FAULT_FLAG_MEMORY_ADDRESS_KHR.
FLAG_INSTRUCTION_ADDRESS_KHR
Native value VK_DEVICE_FAULT_FLAG_INSTRUCTION_ADDRESS_KHR.
Khronos reference: VK_DEVICE_FAULT_FLAG_INSTRUCTION_ADDRESS_KHR
FLAG_VENDOR_KHR
Native value VK_DEVICE_FAULT_FLAG_VENDOR_KHR.
FLAG_WATCHDOG_TIMEOUT_KHR
Native value VK_DEVICE_FAULT_FLAG_WATCHDOG_TIMEOUT_KHR.
Khronos reference: VK_DEVICE_FAULT_FLAG_WATCHDOG_TIMEOUT_KHR
FLAG_OVERFLOW_KHR
Native value VK_DEVICE_FAULT_FLAG_OVERFLOW_KHR.
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::DeviceFaultInfoEXT
Contract
Native structure VkDeviceFaultInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
description
description: [c_char; 256]Native field description.
p_address_infos
p_address_infos: *mut DeviceFaultAddressInfoKHRNative field pAddressInfos.
p_vendor_infos
p_vendor_infos: *mut DeviceFaultVendorInfoKHRNative field pVendorInfos.
p_vendor_binary_data
p_vendor_binary_data: *mut c_voidNative field pVendorBinaryData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_description
Set native field description without native effects.
set_buffers
Borrow initialized fault buffers and set capacities in the accompanying counts record. Pass that same counts record to the native query, without increasing capacities. Only the buffers are retained by this record’s lifetime; the native query may change reported counts, which must be bounded before reading returned data.
Errors
Returns count overflow before changing the counts record or borrowed storage.
push_next
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.
default
Stvk::DeviceFaultInfoKHR
pub struct DeviceFaultInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: DeviceFaultFlagsKHR,
pub group_id: u64,
pub description: [c_char; 256],
pub fault_address_info: DeviceFaultAddressInfoKHR,
pub instruction_address_info: DeviceFaultAddressInfoKHR,
pub vendor_info: DeviceFaultVendorInfoKHR,
/* private fields */
}Contract
Native structure VkDeviceFaultInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
flags
flags: DeviceFaultFlagsKHRNative field flags.
group_id
group_id: u64Native field groupId.
description
description: [c_char; 256]Native field description.
fault_address_info
fault_address_info: DeviceFaultAddressInfoKHRNative field faultAddressInfo.
instruction_address_info
instruction_address_info: DeviceFaultAddressInfoKHRNative field instructionAddressInfo.
vendor_info
vendor_info: DeviceFaultVendorInfoKHRNative field vendorInfo.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_group_id
Set native field groupId without native effects.
set_description
Set native field description without native effects.
set_fault_address_info
Set native field faultAddressInfo without native effects.
set_instruction_address_info
Set native field instructionAddressInfo without native effects.
set_vendor_info
Set native field vendorInfo without native effects.
push_next
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.
default
Stvk::DeviceFaultShaderAbortMessageInfoKHR
Contract
Native structure VkDeviceFaultShaderAbortMessageInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
message_data_size
message_data_size: u64Native field messageDataSize.
p_message_data
p_message_data: *mut c_voidNative field pMessageData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_message_data_size
Set native count messageDataSize 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_message_data
Borrow pMessageData and set checked native byte size messageDataSize.
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.
push_next
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.
default
Stvk::DeviceFaultVendorBinaryHeaderVersionKHR
Contract
Open integer representation of VkDeviceFaultVendorBinaryHeaderVersionKHR.
Khronos reference: VkDeviceFaultVendorBinaryHeaderVersionKHR
Fields
0
0: i32Methods and associated items
ONE_KHR
Native value VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_KHR.
Khronos reference: VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_KHR
ONE_EXT
Native value VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_EXT.
Khronos reference: VK_DEVICE_FAULT_VENDOR_BINARY_HEADER_VERSION_ONE_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DeviceFaultVendorBinaryHeaderVersionOneKHR
#[repr(C)]pub struct DeviceFaultVendorBinaryHeaderVersionOneKHR {
pub header_size: u32,
pub header_version: DeviceFaultVendorBinaryHeaderVersionKHR,
pub vendor_id: u32,
pub device_id: u32,
pub driver_version: u32,
pub pipeline_cache_uuid: [u8; 16],
pub application_name_offset: u32,
pub application_version: u32,
pub engine_name_offset: u32,
pub engine_version: u32,
pub api_version: u32,
}Contract
Native structure VkDeviceFaultVendorBinaryHeaderVersionOneKHR.
Khronos reference: VkDeviceFaultVendorBinaryHeaderVersionOneKHR
Fields
header_size
header_size: u32Native field headerSize.
header_version
header_version: DeviceFaultVendorBinaryHeaderVersionKHRNative field headerVersion.
vendor_id
vendor_id: u32Native field vendorID.
device_id
device_id: u32Native field deviceID.
driver_version
driver_version: u32Native field driverVersion.
pipeline_cache_uuid
pipeline_cache_uuid: [u8; 16]Native field pipelineCacheUUID.
application_name_offset
application_name_offset: u32Native field applicationNameOffset.
application_version
application_version: u32Native field applicationVersion.
engine_name_offset
engine_name_offset: u32Native field engineNameOffset.
engine_version
engine_version: u32Native field engineVersion.
api_version
api_version: u32Native field apiVersion.
Methods and associated items
new
Construct the record with its default native state.
set_header_size
Set native field headerSize without native effects.
set_header_version
Set native field headerVersion without native effects.
set_vendor_id
Set native field vendorID without native effects.
set_device_id
Set native field deviceID without native effects.
set_driver_version
Set native field driverVersion without native effects.
set_pipeline_cache_uuid
Set native field pipelineCacheUUID without native effects.
set_application_name_offset
Set native field applicationNameOffset without native effects.
set_application_version
Set native field applicationVersion without native effects.
set_engine_name_offset
Set native field engineNameOffset without native effects.
set_engine_version
Set native field engineVersion without native effects.
set_api_version
Set native field apiVersion without native effects.
clone
default
Stvk::DeviceFaultVendorInfoKHR
Contract
Native structure VkDeviceFaultVendorInfoKHR.
Fields
description
description: [c_char; 256]Native field description.
vendor_fault_code
vendor_fault_code: u64Native field vendorFaultCode.
vendor_fault_data
vendor_fault_data: u64Native field vendorFaultData.
Methods and associated items
new
Construct the record with its default native state.
set_description
Set native field description without native effects.
set_vendor_fault_code
Set native field vendorFaultCode without native effects.
set_vendor_fault_data
Set native field vendorFaultData without native effects.
clone
default
Stvk::DeviceGroupBindSparseInfo
Contract
Native structure VkDeviceGroupBindSparseInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
resource_device_index
resource_device_index: u32Native field resourceDeviceIndex.
memory_device_index
memory_device_index: u32Native field memoryDeviceIndex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_resource_device_index
Set native field resourceDeviceIndex without native effects.
set_memory_device_index
Set native field memoryDeviceIndex without native effects.
push_next
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.
default
Stvk::DeviceGroupCommandBufferBeginInfo
Contract
Native structure VkDeviceGroupCommandBufferBeginInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
device_mask
device_mask: u32Native field deviceMask.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_device_mask
Set native field deviceMask without native effects.
push_next
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.
default
Stvk::DeviceGroupDeviceCreateInfo
Contract
Native structure VkDeviceGroupDeviceCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
physical_device_count
physical_device_count: u32Native field physicalDeviceCount.
p_physical_devices
p_physical_devices: *const PhysicalDeviceNative field pPhysicalDevices.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_physical_device_count
Set native count physicalDeviceCount 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_physical_devices
Borrow pPhysicalDevices and set checked native count physicalDeviceCount.
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.
push_next
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.
default
Stvk::DeviceGroupPresentCapabilitiesKHR
Contract
Native structure VkDeviceGroupPresentCapabilitiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
present_mask
present_mask: [u32; 32]Native field presentMask.
modes
modes: DeviceGroupPresentModeFlagsKHRNative field modes.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_present_mask
Set native field presentMask without native effects.
set_modes
Set native field modes without native effects.
push_next
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.
default
Stvk::DeviceGroupPresentInfoKHR
Contract
Native structure VkDeviceGroupPresentInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
swapchain_count
swapchain_count: u32Native field swapchainCount.
p_device_masks
p_device_masks: *const u32Native field pDeviceMasks.
mode
mode: DeviceGroupPresentModeFlagBitsKHRNative field mode.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_swapchain_count
Set native count swapchainCount 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_device_masks
Borrow pDeviceMasks and set checked native count swapchainCount.
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_mode
Set native field mode without native effects.
push_next
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.