Realm

vk · Structs · P14

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

StRustExperimental

Stvk::PhysicalDeviceImageSlicedViewOf3DFeaturesEXT

pub struct PhysicalDeviceImageSlicedViewOf3DFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub image_sliced_view_of3_d: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT.

Contract

Native structure VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT.

Khronos reference: VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

image_sliced_view_of3_d

Field
image_sliced_view_of3_d: Bool32

Native field imageSlicedViewOf3D.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_image_sliced_view_of3_d

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

Set native field imageSlicedViewOf3D 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::PhysicalDeviceImageTilingControlFeaturesEXT

pub struct PhysicalDeviceImageTilingControlFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub image_tiling_control: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceImageTilingControlFeaturesEXT.

Contract

Native structure VkPhysicalDeviceImageTilingControlFeaturesEXT.

Khronos reference: VkPhysicalDeviceImageTilingControlFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

image_tiling_control

Field
image_tiling_control: Bool32

Native field imageTilingControl.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_image_tiling_control

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

Set native field imageTilingControl 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::PhysicalDeviceImageViewImageFormatInfoEXT

pub struct PhysicalDeviceImageViewImageFormatInfoEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub image_view_type: ImageViewType, /* private fields */ }
Native structure VkPhysicalDeviceImageViewImageFormatInfoEXT.

Contract

Native structure VkPhysicalDeviceImageViewImageFormatInfoEXT.

Khronos reference: VkPhysicalDeviceImageViewImageFormatInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

image_view_type

Field
image_view_type: ImageViewType

Native field imageViewType.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_image_view_type

Method
pub fn set_image_view_type(self, value: ImageViewType) -> Self

Set native field imageViewType 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::PhysicalDeviceImageViewMinLodFeaturesEXT

pub struct PhysicalDeviceImageViewMinLodFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub min_lod: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceImageViewMinLodFeaturesEXT.

Contract

Native structure VkPhysicalDeviceImageViewMinLodFeaturesEXT.

Khronos reference: VkPhysicalDeviceImageViewMinLodFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

min_lod

Field
min_lod: Bool32

Native field minLod.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_min_lod

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

Set native field minLod 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::PhysicalDeviceIndexTypeUint8Features

pub struct PhysicalDeviceIndexTypeUint8Features<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub index_type_uint8: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceIndexTypeUint8Features.

Contract

Native structure VkPhysicalDeviceIndexTypeUint8Features.

Khronos reference: VkPhysicalDeviceIndexTypeUint8Features

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

index_type_uint8

Field
index_type_uint8: Bool32

Native field indexTypeUint8.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_index_type_uint8

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

Set native field indexTypeUint8 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::PhysicalDeviceInfoPropertiesINTEL

pub struct PhysicalDeviceInfoPropertiesINTEL<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub device_ip_version_arch: u32, pub device_ip_version_release: u32, pub device_ip_version_revision: u32, /* private fields */ }
Native structure VkPhysicalDeviceInfoPropertiesINTEL.

Contract

Native structure VkPhysicalDeviceInfoPropertiesINTEL.

Khronos reference: VkPhysicalDeviceInfoPropertiesINTEL

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

device_ip_version_arch

Field
device_ip_version_arch: u32

Native field deviceIpVersionArch.

device_ip_version_release

Field
device_ip_version_release: u32

Native field deviceIpVersionRelease.

device_ip_version_revision

Field
device_ip_version_revision: u32

Native field deviceIpVersionRevision.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_device_ip_version_arch

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

Set native field deviceIpVersionArch without native effects.

set_device_ip_version_release

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

Set native field deviceIpVersionRelease without native effects.

set_device_ip_version_revision

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

Set native field deviceIpVersionRevision 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::PhysicalDeviceInheritedViewportScissorFeaturesNV

pub struct PhysicalDeviceInheritedViewportScissorFeaturesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub inherited_viewport_scissor2_d: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceInheritedViewportScissorFeaturesNV.

Contract

Native structure VkPhysicalDeviceInheritedViewportScissorFeaturesNV.

Khronos reference: VkPhysicalDeviceInheritedViewportScissorFeaturesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

inherited_viewport_scissor2_d

Field
inherited_viewport_scissor2_d: Bool32

Native field inheritedViewportScissor2D.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_inherited_viewport_scissor2_d

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

Set native field inheritedViewportScissor2D 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::PhysicalDeviceInlineUniformBlockFeatures

pub struct PhysicalDeviceInlineUniformBlockFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub inline_uniform_block: Bool32, pub descriptor_binding_inline_uniform_block_update_after_bind: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceInlineUniformBlockFeatures.

Contract

Native structure VkPhysicalDeviceInlineUniformBlockFeatures.

Khronos reference: VkPhysicalDeviceInlineUniformBlockFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

inline_uniform_block

Field
inline_uniform_block: Bool32

Native field inlineUniformBlock.

descriptor_binding_inline_uniform_block_update_after_bind

Field
descriptor_binding_inline_uniform_block_update_after_bind: Bool32

Native field descriptorBindingInlineUniformBlockUpdateAfterBind.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_inline_uniform_block

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

Set native field inlineUniformBlock without native effects.

set_descriptor_binding_inline_uniform_block_update_after_bind

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

Set native field descriptorBindingInlineUniformBlockUpdateAfterBind 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::PhysicalDeviceInlineUniformBlockProperties

pub struct PhysicalDeviceInlineUniformBlockProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_inline_uniform_block_size: u32, pub max_per_stage_descriptor_inline_uniform_blocks: u32, pub max_per_stage_descriptor_update_after_bind_inline_uniform_blocks: u32, pub max_descriptor_set_inline_uniform_blocks: u32, pub max_descriptor_set_update_after_bind_inline_uniform_blocks: u32, /* private fields */ }
Native structure VkPhysicalDeviceInlineUniformBlockProperties.

Contract

Native structure VkPhysicalDeviceInlineUniformBlockProperties.

Khronos reference: VkPhysicalDeviceInlineUniformBlockProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_inline_uniform_block_size

Field
max_inline_uniform_block_size: u32

Native field maxInlineUniformBlockSize.

max_per_stage_descriptor_inline_uniform_blocks

Field
max_per_stage_descriptor_inline_uniform_blocks: u32

Native field maxPerStageDescriptorInlineUniformBlocks.

max_per_stage_descriptor_update_after_bind_inline_uniform_blocks

Field
max_per_stage_descriptor_update_after_bind_inline_uniform_blocks: u32

Native field maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks.

max_descriptor_set_inline_uniform_blocks

Field
max_descriptor_set_inline_uniform_blocks: u32

Native field maxDescriptorSetInlineUniformBlocks.

max_descriptor_set_update_after_bind_inline_uniform_blocks

Field
max_descriptor_set_update_after_bind_inline_uniform_blocks: u32

Native field maxDescriptorSetUpdateAfterBindInlineUniformBlocks.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_inline_uniform_block_size

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

Set native field maxInlineUniformBlockSize without native effects.

set_max_per_stage_descriptor_inline_uniform_blocks

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

Set native field maxPerStageDescriptorInlineUniformBlocks without native effects.

set_max_per_stage_descriptor_update_after_bind_inline_uniform_blocks

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

Set native field maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks without native effects.

set_max_descriptor_set_inline_uniform_blocks

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

Set native field maxDescriptorSetInlineUniformBlocks without native effects.

set_max_descriptor_set_update_after_bind_inline_uniform_blocks

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

Set native field maxDescriptorSetUpdateAfterBindInlineUniformBlocks 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::PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR

pub struct PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub internally_synchronized_queues: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR.

Contract

Native structure VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR.

Khronos reference: VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

internally_synchronized_queues

Field
internally_synchronized_queues: Bool32

Native field internallySynchronizedQueues.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_internally_synchronized_queues

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

Set native field internallySynchronizedQueues 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::PhysicalDeviceInvocationMaskFeaturesHUAWEI

pub struct PhysicalDeviceInvocationMaskFeaturesHUAWEI<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub invocation_mask: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.

Contract

Native structure VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.

Khronos reference: VkPhysicalDeviceInvocationMaskFeaturesHUAWEI

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

invocation_mask

Field
invocation_mask: Bool32

Native field invocationMask.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_invocation_mask

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

Set native field invocationMask 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::PhysicalDeviceLayeredApiKHR

Contract

Open integer representation of VkPhysicalDeviceLayeredApiKHR.

Khronos reference: VkPhysicalDeviceLayeredApiKHR

Fields

0

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

Methods and associated items

from_raw

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

as_raw

Method
pub const fn as_raw(self) -> i32
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.

clone

Method
fn clone(&self) -> PhysicalDeviceLayeredApiKHR
Returns a duplicate of the value. Read more

fmt

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

default

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

eq

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

Stvk::PhysicalDeviceLayeredApiPropertiesKHR

pub struct PhysicalDeviceLayeredApiPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub vendor_id: u32, pub device_id: u32, pub layered_api: PhysicalDeviceLayeredApiKHR, pub device_name: [c_char; 256], /* private fields */ }
Native structure VkPhysicalDeviceLayeredApiPropertiesKHR.

Contract

Native structure VkPhysicalDeviceLayeredApiPropertiesKHR.

Khronos reference: VkPhysicalDeviceLayeredApiPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

vendor_id

Field
vendor_id: u32

Native field vendorID.

device_id

Field
device_id: u32

Native field deviceID.

layered_api

Field
layered_api: PhysicalDeviceLayeredApiKHR

Native field layeredAPI.

device_name

Field
device_name: [c_char; 256]

Native field deviceName.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_vendor_id

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

Set native field vendorID without native effects.

set_device_id

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

Set native field deviceID without native effects.

set_layered_api

Method
pub fn set_layered_api(self, value: PhysicalDeviceLayeredApiKHR) -> Self

Set native field layeredAPI without native effects.

set_device_name

Method
pub fn set_device_name(self, value: [c_char; 256]) -> Self

Set native field deviceName 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::PhysicalDeviceLayeredApiPropertiesListKHR

pub struct PhysicalDeviceLayeredApiPropertiesListKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub layered_api_count: u32, pub p_layered_apis: *mut PhysicalDeviceLayeredApiPropertiesKHR<'a>, /* private fields */ }
Native structure VkPhysicalDeviceLayeredApiPropertiesListKHR.

Contract

Native structure VkPhysicalDeviceLayeredApiPropertiesListKHR.

Khronos reference: VkPhysicalDeviceLayeredApiPropertiesListKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

layered_api_count

Field
layered_api_count: u32

Native field layeredApiCount.

p_layered_apis

Field
p_layered_apis: *mut PhysicalDeviceLayeredApiPropertiesKHR<'a>

Native field pLayeredApis.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_layered_api_count

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

Set native count layeredApiCount 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_layered_apis

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

Borrow pLayeredApis and set checked native count layeredApiCount. 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

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::PhysicalDeviceLayeredApiVulkanPropertiesKHR

pub struct PhysicalDeviceLayeredApiVulkanPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub properties: PhysicalDeviceProperties2<'a>, /* private fields */ }
Native structure VkPhysicalDeviceLayeredApiVulkanPropertiesKHR.

Contract

Native structure VkPhysicalDeviceLayeredApiVulkanPropertiesKHR.

Khronos reference: VkPhysicalDeviceLayeredApiVulkanPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

properties

Field
properties: PhysicalDeviceProperties2<'a>

Native field properties.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_properties

Method
pub fn set_properties(self, value: PhysicalDeviceProperties2<'a>) -> Self

Set native field properties 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::PhysicalDeviceLayeredDriverPropertiesMSFT

pub struct PhysicalDeviceLayeredDriverPropertiesMSFT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub underlying_api: LayeredDriverUnderlyingApiMSFT, /* private fields */ }
Native structure VkPhysicalDeviceLayeredDriverPropertiesMSFT.

Contract

Native structure VkPhysicalDeviceLayeredDriverPropertiesMSFT.

Khronos reference: VkPhysicalDeviceLayeredDriverPropertiesMSFT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

underlying_api

Field
underlying_api: LayeredDriverUnderlyingApiMSFT

Native field underlyingAPI.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_underlying_api

Method
pub fn set_underlying_api(self, value: LayeredDriverUnderlyingApiMSFT) -> Self

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