Realm

vk · Structs · P10

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

StRustExperimental

Stvk::PhysicalDeviceExtendedFlagsFeaturesKHR

pub struct PhysicalDeviceExtendedFlagsFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub extended_flags: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceExtendedFlagsFeaturesKHR.

Contract

Native structure VkPhysicalDeviceExtendedFlagsFeaturesKHR.

Khronos reference: VkPhysicalDeviceExtendedFlagsFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

extended_flags

Field
extended_flags: Bool32

Native field extendedFlags.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_extended_flags

Method
pub fn set_extended_flags(self, value: Bool32) -> Self

Set native field extendedFlags 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::PhysicalDeviceExtendedSparseAddressSpaceFeaturesNV

pub struct PhysicalDeviceExtendedSparseAddressSpaceFeaturesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub extended_sparse_address_space: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV.

Contract

Native structure VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV.

Khronos reference: VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

extended_sparse_address_space

Field
extended_sparse_address_space: Bool32

Native field extendedSparseAddressSpace.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_extended_sparse_address_space

Method
pub fn set_extended_sparse_address_space(self, value: Bool32) -> Self

Set native field extendedSparseAddressSpace 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::PhysicalDeviceExtendedSparseAddressSpacePropertiesNV

pub struct PhysicalDeviceExtendedSparseAddressSpacePropertiesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub extended_sparse_address_space_size: DeviceSize, pub extended_sparse_image_usage_flags: ImageUsageFlags, pub extended_sparse_buffer_usage_flags: BufferUsageFlags, /* private fields */ }
Native structure VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV.

Contract

Native structure VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV.

Khronos reference: VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

extended_sparse_address_space_size

Field
extended_sparse_address_space_size: DeviceSize

Native field extendedSparseAddressSpaceSize.

extended_sparse_image_usage_flags

Field
extended_sparse_image_usage_flags: ImageUsageFlags

Native field extendedSparseImageUsageFlags.

extended_sparse_buffer_usage_flags

Field
extended_sparse_buffer_usage_flags: BufferUsageFlags

Native field extendedSparseBufferUsageFlags.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_extended_sparse_address_space_size

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

Set native field extendedSparseAddressSpaceSize without native effects.

set_extended_sparse_image_usage_flags

Method
pub fn set_extended_sparse_image_usage_flags( self, value: ImageUsageFlags, ) -> Self

Set native field extendedSparseImageUsageFlags without native effects.

set_extended_sparse_buffer_usage_flags

Method
pub fn set_extended_sparse_buffer_usage_flags( self, value: BufferUsageFlags, ) -> Self

Set native field extendedSparseBufferUsageFlags 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::PhysicalDeviceExternalBufferInfo

pub struct PhysicalDeviceExternalBufferInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: BufferCreateFlags, pub usage: BufferUsageFlags, pub handle_type: ExternalMemoryHandleTypeFlagBits, /* private fields */ }
Native structure VkPhysicalDeviceExternalBufferInfo.

Contract

Native structure VkPhysicalDeviceExternalBufferInfo.

Khronos reference: VkPhysicalDeviceExternalBufferInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: BufferCreateFlags

Native field flags.

usage

Field
usage: BufferUsageFlags

Native field usage.

handle_type

Field
handle_type: ExternalMemoryHandleTypeFlagBits

Native field handleType.

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: BufferCreateFlags) -> Self

Set native field flags without native effects.

set_usage

Method
pub fn set_usage(self, value: BufferUsageFlags) -> Self

Set native field usage without native effects.

set_handle_type

Method
pub fn set_handle_type(self, value: ExternalMemoryHandleTypeFlagBits) -> Self

Set native field handleType 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::PhysicalDeviceExternalComputeQueuePropertiesNV

pub struct PhysicalDeviceExternalComputeQueuePropertiesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub external_data_size: u32, pub max_external_queues: u32, /* private fields */ }
Native structure VkPhysicalDeviceExternalComputeQueuePropertiesNV.

Contract

Native structure VkPhysicalDeviceExternalComputeQueuePropertiesNV.

Khronos reference: VkPhysicalDeviceExternalComputeQueuePropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

external_data_size

Field
external_data_size: u32

Native field externalDataSize.

max_external_queues

Field
max_external_queues: u32

Native field maxExternalQueues.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_external_data_size

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

Set native field externalDataSize without native effects.

set_max_external_queues

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

Set native field maxExternalQueues 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::PhysicalDeviceExternalFenceInfo

pub struct PhysicalDeviceExternalFenceInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub handle_type: ExternalFenceHandleTypeFlagBits, /* private fields */ }
Native structure VkPhysicalDeviceExternalFenceInfo.

Contract

Native structure VkPhysicalDeviceExternalFenceInfo.

Khronos reference: VkPhysicalDeviceExternalFenceInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

handle_type

Field
handle_type: ExternalFenceHandleTypeFlagBits

Native field handleType.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_handle_type

Method
pub fn set_handle_type(self, value: ExternalFenceHandleTypeFlagBits) -> Self

Set native field handleType 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::PhysicalDeviceExternalFormatResolveFeaturesANDROID

pub struct PhysicalDeviceExternalFormatResolveFeaturesANDROID<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub external_format_resolve: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceExternalFormatResolveFeaturesANDROID.

Contract

Native structure VkPhysicalDeviceExternalFormatResolveFeaturesANDROID.

Khronos reference: VkPhysicalDeviceExternalFormatResolveFeaturesANDROID

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

external_format_resolve

Field
external_format_resolve: Bool32

Native field externalFormatResolve.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_external_format_resolve

Method
pub fn set_external_format_resolve(self, value: Bool32) -> Self

Set native field externalFormatResolve 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::PhysicalDeviceExternalFormatResolvePropertiesANDROID

pub struct PhysicalDeviceExternalFormatResolvePropertiesANDROID<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub null_color_attachment_with_external_format_resolve: Bool32, pub external_format_resolve_chroma_offset_x: ChromaLocation, pub external_format_resolve_chroma_offset_y: ChromaLocation, /* private fields */ }
Native structure VkPhysicalDeviceExternalFormatResolvePropertiesANDROID.

Contract

Native structure VkPhysicalDeviceExternalFormatResolvePropertiesANDROID.

Khronos reference: VkPhysicalDeviceExternalFormatResolvePropertiesANDROID

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

null_color_attachment_with_external_format_resolve

Field
null_color_attachment_with_external_format_resolve: Bool32

Native field nullColorAttachmentWithExternalFormatResolve.

external_format_resolve_chroma_offset_x

Field
external_format_resolve_chroma_offset_x: ChromaLocation

Native field externalFormatResolveChromaOffsetX.

external_format_resolve_chroma_offset_y

Field
external_format_resolve_chroma_offset_y: ChromaLocation

Native field externalFormatResolveChromaOffsetY.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_null_color_attachment_with_external_format_resolve

Method
pub fn set_null_color_attachment_with_external_format_resolve( self, value: Bool32, ) -> Self

Set native field nullColorAttachmentWithExternalFormatResolve without native effects.

set_external_format_resolve_chroma_offset_x

Method
pub fn set_external_format_resolve_chroma_offset_x( self, value: ChromaLocation, ) -> Self

Set native field externalFormatResolveChromaOffsetX without native effects.

set_external_format_resolve_chroma_offset_y

Method
pub fn set_external_format_resolve_chroma_offset_y( self, value: ChromaLocation, ) -> Self

Set native field externalFormatResolveChromaOffsetY 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::PhysicalDeviceExternalImageFormatInfo

pub struct PhysicalDeviceExternalImageFormatInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub handle_type: ExternalMemoryHandleTypeFlagBits, /* private fields */ }
Native structure VkPhysicalDeviceExternalImageFormatInfo.

Contract

Native structure VkPhysicalDeviceExternalImageFormatInfo.

Khronos reference: VkPhysicalDeviceExternalImageFormatInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

handle_type

Field
handle_type: ExternalMemoryHandleTypeFlagBits

Native field handleType.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_handle_type

Method
pub fn set_handle_type(self, value: ExternalMemoryHandleTypeFlagBits) -> Self

Set native field handleType 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::PhysicalDeviceExternalMemoryHostPropertiesEXT

pub struct PhysicalDeviceExternalMemoryHostPropertiesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub min_imported_host_pointer_alignment: DeviceSize, /* private fields */ }
Native structure VkPhysicalDeviceExternalMemoryHostPropertiesEXT.

Contract

Native structure VkPhysicalDeviceExternalMemoryHostPropertiesEXT.

Khronos reference: VkPhysicalDeviceExternalMemoryHostPropertiesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

min_imported_host_pointer_alignment

Field
min_imported_host_pointer_alignment: DeviceSize

Native field minImportedHostPointerAlignment.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_min_imported_host_pointer_alignment

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

Set native field minImportedHostPointerAlignment 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::PhysicalDeviceExternalMemoryRDMAFeaturesNV

pub struct PhysicalDeviceExternalMemoryRDMAFeaturesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub external_memory_rdma: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceExternalMemoryRDMAFeaturesNV.

Contract

Native structure VkPhysicalDeviceExternalMemoryRDMAFeaturesNV.

Khronos reference: VkPhysicalDeviceExternalMemoryRDMAFeaturesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

external_memory_rdma

Field
external_memory_rdma: Bool32

Native field externalMemoryRDMA.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_external_memory_rdma

Method
pub fn set_external_memory_rdma(self, value: Bool32) -> Self

Set native field externalMemoryRDMA 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::PhysicalDeviceExternalMemoryScreenBufferFeaturesQNX

pub struct PhysicalDeviceExternalMemoryScreenBufferFeaturesQNX<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub screen_buffer_import: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX.

Contract

Native structure VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX.

Khronos reference: VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

screen_buffer_import

Field
screen_buffer_import: Bool32

Native field screenBufferImport.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_screen_buffer_import

Method
pub fn set_screen_buffer_import(self, value: Bool32) -> Self

Set native field screenBufferImport 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::PhysicalDeviceExternalSemaphoreInfo

pub struct PhysicalDeviceExternalSemaphoreInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub handle_type: ExternalSemaphoreHandleTypeFlagBits, /* private fields */ }
Native structure VkPhysicalDeviceExternalSemaphoreInfo.

Contract

Native structure VkPhysicalDeviceExternalSemaphoreInfo.

Khronos reference: VkPhysicalDeviceExternalSemaphoreInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

handle_type

Field
handle_type: ExternalSemaphoreHandleTypeFlagBits

Native field handleType.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_handle_type

Method
pub fn set_handle_type(self, value: ExternalSemaphoreHandleTypeFlagBits) -> Self

Set native field handleType 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::PhysicalDeviceExternalTensorInfoARM

pub struct PhysicalDeviceExternalTensorInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: TensorCreateFlagsARM, pub p_description: *const TensorDescriptionARM<'a>, pub handle_type: ExternalMemoryHandleTypeFlagBits, /* private fields */ }
Native structure VkPhysicalDeviceExternalTensorInfoARM.

Contract

Native structure VkPhysicalDeviceExternalTensorInfoARM.

Khronos reference: VkPhysicalDeviceExternalTensorInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: TensorCreateFlagsARM

Native field flags.

p_description

Field
p_description: *const TensorDescriptionARM<'a>

Native field pDescription.

handle_type

Field
handle_type: ExternalMemoryHandleTypeFlagBits

Native field handleType.

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: TensorCreateFlagsARM) -> Self

Set native field flags without native effects.

set_description

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

Set native field pDescription without native effects.

set_handle_type

Method
pub fn set_handle_type(self, value: ExternalMemoryHandleTypeFlagBits) -> Self

Set native field handleType 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::PhysicalDeviceFaultFeaturesEXT

pub struct PhysicalDeviceFaultFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub device_fault: Bool32, pub device_fault_vendor_binary: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceFaultFeaturesEXT.

Contract

Native structure VkPhysicalDeviceFaultFeaturesEXT.

Khronos reference: VkPhysicalDeviceFaultFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

device_fault

Field
device_fault: Bool32

Native field deviceFault.

device_fault_vendor_binary

Field
device_fault_vendor_binary: Bool32

Native field deviceFaultVendorBinary.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_device_fault

Method
pub fn set_device_fault(self, value: Bool32) -> Self

Set native field deviceFault without native effects.

set_device_fault_vendor_binary

Method
pub fn set_device_fault_vendor_binary(self, value: Bool32) -> Self

Set native field deviceFaultVendorBinary 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::PhysicalDeviceFaultFeaturesKHR

pub struct PhysicalDeviceFaultFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub device_fault: Bool32, pub device_fault_vendor_binary: Bool32, pub device_fault_report_masked: Bool32, pub device_fault_device_lost_on_masked: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceFaultFeaturesKHR.

Contract

Native structure VkPhysicalDeviceFaultFeaturesKHR.

Khronos reference: VkPhysicalDeviceFaultFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

device_fault

Field
device_fault: Bool32

Native field deviceFault.

device_fault_vendor_binary

Field
device_fault_vendor_binary: Bool32

Native field deviceFaultVendorBinary.

device_fault_report_masked

Field
device_fault_report_masked: Bool32

Native field deviceFaultReportMasked.

device_fault_device_lost_on_masked

Field
device_fault_device_lost_on_masked: Bool32

Native field deviceFaultDeviceLostOnMasked.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_device_fault

Method
pub fn set_device_fault(self, value: Bool32) -> Self

Set native field deviceFault without native effects.

set_device_fault_vendor_binary

Method
pub fn set_device_fault_vendor_binary(self, value: Bool32) -> Self

Set native field deviceFaultVendorBinary without native effects.

set_device_fault_report_masked

Method
pub fn set_device_fault_report_masked(self, value: Bool32) -> Self

Set native field deviceFaultReportMasked without native effects.

set_device_fault_device_lost_on_masked

Method
pub fn set_device_fault_device_lost_on_masked(self, value: Bool32) -> Self

Set native field deviceFaultDeviceLostOnMasked 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.