Realm

vk · Structs · S16

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

StRustExperimental

Stvk::SubpassEndInfo

Contract

Native structure VkSubpassEndInfo.

Khronos reference: VkSubpassEndInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

Methods and associated items

new

Method
pub fn new() -> Self

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

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

Contract

Open integer representation of VkSubpassMergeStatusEXT.

Khronos reference: VkSubpassMergeStatusEXT

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) -> SubpassMergeStatusEXT
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() -> SubpassMergeStatusEXT
Returns the “default value” for a type. Read more

eq

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

Stvk::SubpassResolvePerformanceQueryEXT

pub struct SubpassResolvePerformanceQueryEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub optimal: Bool32, /* private fields */ }
Native structure VkSubpassResolvePerformanceQueryEXT.

Contract

Native structure VkSubpassResolvePerformanceQueryEXT.

Khronos reference: VkSubpassResolvePerformanceQueryEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

optimal

Field
optimal: Bool32

Native field optimal.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_optimal

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

Set native field optimal 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::SubpassSampleLocationsEXT

pub struct SubpassSampleLocationsEXT<'a> { pub subpass_index: u32, pub sample_locations_info: SampleLocationsInfoEXT<'a>, /* private fields */ }
Native structure VkSubpassSampleLocationsEXT.

Contract

Native structure VkSubpassSampleLocationsEXT.

Khronos reference: VkSubpassSampleLocationsEXT

Fields

subpass_index

Field
subpass_index: u32

Native field subpassIndex.

sample_locations_info

Field
sample_locations_info: SampleLocationsInfoEXT<'a>

Native field sampleLocationsInfo.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_subpass_index

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

Set native field subpassIndex without native effects.

set_sample_locations_info

Method
pub fn set_sample_locations_info( self, value: SampleLocationsInfoEXT<'a>, ) -> Self

Set native field sampleLocationsInfo without native effects.

Stvk::SubpassShadingPipelineCreateInfoHUAWEI

pub struct SubpassShadingPipelineCreateInfoHUAWEI<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub render_pass: RenderPass, pub subpass: u32, /* private fields */ }
Native structure VkSubpassShadingPipelineCreateInfoHUAWEI.

Contract

Native structure VkSubpassShadingPipelineCreateInfoHUAWEI.

Khronos reference: VkSubpassShadingPipelineCreateInfoHUAWEI

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

render_pass

Field
render_pass: RenderPass

Native field renderPass.

subpass

Field
subpass: u32

Native field subpass.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_render_pass

Method
pub fn set_render_pass(self, value: RenderPass) -> Self

Set native field renderPass without native effects.

set_subpass

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

Set native field subpass 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::SubresourceHostMemcpySize

pub struct SubresourceHostMemcpySize<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub size: DeviceSize, /* private fields */ }
Native structure VkSubresourceHostMemcpySize.

Contract

Native structure VkSubresourceHostMemcpySize.

Khronos reference: VkSubresourceHostMemcpySize

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

size

Field
size: DeviceSize

Native field size.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_size

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

Set native field size 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::SubresourceLayout

#[repr(C)]pub struct SubresourceLayout { pub offset: DeviceSize, pub size: DeviceSize, pub row_pitch: DeviceSize, pub array_pitch: DeviceSize, pub depth_pitch: DeviceSize, }
Native structure VkSubresourceLayout.

Contract

Native structure VkSubresourceLayout.

Khronos reference: VkSubresourceLayout

Fields

offset

Field
offset: DeviceSize

Native field offset.

size

Field
size: DeviceSize

Native field size.

row_pitch

Field
row_pitch: DeviceSize

Native field rowPitch.

array_pitch

Field
array_pitch: DeviceSize

Native field arrayPitch.

depth_pitch

Field
depth_pitch: DeviceSize

Native field depthPitch.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_offset

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

Set native field offset without native effects.

set_size

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

Set native field size without native effects.

set_row_pitch

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

Set native field rowPitch without native effects.

set_array_pitch

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

Set native field arrayPitch without native effects.

set_depth_pitch

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

Set native field depthPitch without native effects.

Stvk::SubresourceLayout2

pub struct SubresourceLayout2<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub subresource_layout: SubresourceLayout, /* private fields */ }
Native structure VkSubresourceLayout2.

Contract

Native structure VkSubresourceLayout2.

Khronos reference: VkSubresourceLayout2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

subresource_layout

Field
subresource_layout: SubresourceLayout

Native field subresourceLayout.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_subresource_layout

Method
pub fn set_subresource_layout(self, value: SubresourceLayout) -> Self

Set native field subresourceLayout 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::SubsampledImageFormatPropertiesEXT

pub struct SubsampledImageFormatPropertiesEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub subsampled_image_descriptor_count: u32, /* private fields */ }
Native structure VkSubsampledImageFormatPropertiesEXT.

Contract

Native structure VkSubsampledImageFormatPropertiesEXT.

Khronos reference: VkSubsampledImageFormatPropertiesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

subsampled_image_descriptor_count

Field
subsampled_image_descriptor_count: u32

Native field subsampledImageDescriptorCount.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_subsampled_image_descriptor_count

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

Set native field subsampledImageDescriptorCount 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::SurfaceCapabilities2EXT

pub struct SurfaceCapabilities2EXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub min_image_count: u32, pub max_image_count: u32, pub current_extent: Extent2D, pub min_image_extent: Extent2D, pub max_image_extent: Extent2D, pub max_image_array_layers: u32, pub supported_transforms: SurfaceTransformFlagsKHR, pub current_transform: SurfaceTransformFlagBitsKHR, pub supported_composite_alpha: CompositeAlphaFlagsKHR, pub supported_usage_flags: ImageUsageFlags, pub supported_surface_counters: SurfaceCounterFlagsEXT, /* private fields */ }
Native structure VkSurfaceCapabilities2EXT.

Contract

Native structure VkSurfaceCapabilities2EXT.

Khronos reference: VkSurfaceCapabilities2EXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

min_image_count

Field
min_image_count: u32

Native field minImageCount.

max_image_count

Field
max_image_count: u32

Native field maxImageCount.

current_extent

Field
current_extent: Extent2D

Native field currentExtent.

min_image_extent

Field
min_image_extent: Extent2D

Native field minImageExtent.

max_image_extent

Field
max_image_extent: Extent2D

Native field maxImageExtent.

max_image_array_layers

Field
max_image_array_layers: u32

Native field maxImageArrayLayers.

supported_transforms

Field
supported_transforms: SurfaceTransformFlagsKHR

Native field supportedTransforms.

current_transform

Field
current_transform: SurfaceTransformFlagBitsKHR

Native field currentTransform.

supported_composite_alpha

Field
supported_composite_alpha: CompositeAlphaFlagsKHR

Native field supportedCompositeAlpha.

supported_usage_flags

Field
supported_usage_flags: ImageUsageFlags

Native field supportedUsageFlags.

supported_surface_counters

Field
supported_surface_counters: SurfaceCounterFlagsEXT

Native field supportedSurfaceCounters.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_min_image_count

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

Set native field minImageCount without native effects.

set_max_image_count

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

Set native field maxImageCount without native effects.

set_current_extent

Method
pub fn set_current_extent(self, value: Extent2D) -> Self

Set native field currentExtent without native effects.

set_min_image_extent

Method
pub fn set_min_image_extent(self, value: Extent2D) -> Self

Set native field minImageExtent without native effects.

set_max_image_extent

Method
pub fn set_max_image_extent(self, value: Extent2D) -> Self

Set native field maxImageExtent without native effects.

set_max_image_array_layers

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

Set native field maxImageArrayLayers without native effects.

set_supported_transforms

Method
pub fn set_supported_transforms(self, value: SurfaceTransformFlagsKHR) -> Self

Set native field supportedTransforms without native effects.

set_current_transform

Method
pub fn set_current_transform(self, value: SurfaceTransformFlagBitsKHR) -> Self

Set native field currentTransform without native effects.

set_supported_composite_alpha

Method
pub fn set_supported_composite_alpha( self, value: CompositeAlphaFlagsKHR, ) -> Self

Set native field supportedCompositeAlpha without native effects.

set_supported_usage_flags

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

Set native field supportedUsageFlags without native effects.

set_supported_surface_counters

Method
pub fn set_supported_surface_counters( self, value: SurfaceCounterFlagsEXT, ) -> Self

Set native field supportedSurfaceCounters 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::SurfaceCapabilities2KHR

pub struct SurfaceCapabilities2KHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub surface_capabilities: SurfaceCapabilitiesKHR, /* private fields */ }
Native structure VkSurfaceCapabilities2KHR.

Contract

Native structure VkSurfaceCapabilities2KHR.

Khronos reference: VkSurfaceCapabilities2KHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

surface_capabilities

Field
surface_capabilities: SurfaceCapabilitiesKHR

Native field surfaceCapabilities.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_surface_capabilities

Method
pub fn set_surface_capabilities(self, value: SurfaceCapabilitiesKHR) -> Self

Set native field surfaceCapabilities 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::SurfaceCapabilitiesFullScreenExclusiveEXT

pub struct SurfaceCapabilitiesFullScreenExclusiveEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub full_screen_exclusive_supported: Bool32, /* private fields */ }
Native structure VkSurfaceCapabilitiesFullScreenExclusiveEXT.

Contract

Native structure VkSurfaceCapabilitiesFullScreenExclusiveEXT.

Khronos reference: VkSurfaceCapabilitiesFullScreenExclusiveEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

full_screen_exclusive_supported

Field
full_screen_exclusive_supported: Bool32

Native field fullScreenExclusiveSupported.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_full_screen_exclusive_supported

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

Set native field fullScreenExclusiveSupported 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::SurfaceCapabilitiesKHR

#[repr(C)]pub struct SurfaceCapabilitiesKHR { pub min_image_count: u32, pub max_image_count: u32, pub current_extent: Extent2D, pub min_image_extent: Extent2D, pub max_image_extent: Extent2D, pub max_image_array_layers: u32, pub supported_transforms: SurfaceTransformFlagsKHR, pub current_transform: SurfaceTransformFlagBitsKHR, pub supported_composite_alpha: CompositeAlphaFlagsKHR, pub supported_usage_flags: ImageUsageFlags, }
Native structure VkSurfaceCapabilitiesKHR.

Contract

Native structure VkSurfaceCapabilitiesKHR.

Khronos reference: VkSurfaceCapabilitiesKHR

Fields

min_image_count

Field
min_image_count: u32

Native field minImageCount.

max_image_count

Field
max_image_count: u32

Native field maxImageCount.

current_extent

Field
current_extent: Extent2D

Native field currentExtent.

min_image_extent

Field
min_image_extent: Extent2D

Native field minImageExtent.

max_image_extent

Field
max_image_extent: Extent2D

Native field maxImageExtent.

max_image_array_layers

Field
max_image_array_layers: u32

Native field maxImageArrayLayers.

supported_transforms

Field
supported_transforms: SurfaceTransformFlagsKHR

Native field supportedTransforms.

current_transform

Field
current_transform: SurfaceTransformFlagBitsKHR

Native field currentTransform.

supported_composite_alpha

Field
supported_composite_alpha: CompositeAlphaFlagsKHR

Native field supportedCompositeAlpha.

supported_usage_flags

Field
supported_usage_flags: ImageUsageFlags

Native field supportedUsageFlags.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_min_image_count

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

Set native field minImageCount without native effects.

set_max_image_count

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

Set native field maxImageCount without native effects.

set_current_extent

Method
pub fn set_current_extent(self, value: Extent2D) -> Self

Set native field currentExtent without native effects.

set_min_image_extent

Method
pub fn set_min_image_extent(self, value: Extent2D) -> Self

Set native field minImageExtent without native effects.

set_max_image_extent

Method
pub fn set_max_image_extent(self, value: Extent2D) -> Self

Set native field maxImageExtent without native effects.

set_max_image_array_layers

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

Set native field maxImageArrayLayers without native effects.

set_supported_transforms

Method
pub fn set_supported_transforms(self, value: SurfaceTransformFlagsKHR) -> Self

Set native field supportedTransforms without native effects.

set_current_transform

Method
pub fn set_current_transform(self, value: SurfaceTransformFlagBitsKHR) -> Self

Set native field currentTransform without native effects.

set_supported_composite_alpha

Method
pub fn set_supported_composite_alpha( self, value: CompositeAlphaFlagsKHR, ) -> Self

Set native field supportedCompositeAlpha without native effects.

set_supported_usage_flags

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

Set native field supportedUsageFlags without native effects.

clone

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

Stvk::SurfaceCapabilitiesPresentBarrierNV

pub struct SurfaceCapabilitiesPresentBarrierNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_barrier_supported: Bool32, /* private fields */ }
Native structure VkSurfaceCapabilitiesPresentBarrierNV.

Contract

Native structure VkSurfaceCapabilitiesPresentBarrierNV.

Khronos reference: VkSurfaceCapabilitiesPresentBarrierNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_barrier_supported

Field
present_barrier_supported: Bool32

Native field presentBarrierSupported.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_barrier_supported

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

Set native field presentBarrierSupported 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::SurfaceCapabilitiesPresentId2KHR

pub struct SurfaceCapabilitiesPresentId2KHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_id2_supported: Bool32, /* private fields */ }
Native structure VkSurfaceCapabilitiesPresentId2KHR.

Contract

Native structure VkSurfaceCapabilitiesPresentId2KHR.

Khronos reference: VkSurfaceCapabilitiesPresentId2KHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_id2_supported

Field
present_id2_supported: Bool32

Native field presentId2Supported.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_id2_supported

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

Set native field presentId2Supported 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::SurfaceCapabilitiesPresentWait2KHR

pub struct SurfaceCapabilitiesPresentWait2KHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_wait2_supported: Bool32, /* private fields */ }
Native structure VkSurfaceCapabilitiesPresentWait2KHR.

Contract

Native structure VkSurfaceCapabilitiesPresentWait2KHR.

Khronos reference: VkSurfaceCapabilitiesPresentWait2KHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_wait2_supported

Field
present_wait2_supported: Bool32

Native field presentWait2Supported.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_wait2_supported

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

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