Realm

vk · Structs · Q2

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

StRustExperimental

Stvk::QueueFamilyCheckpointPropertiesNV

pub struct QueueFamilyCheckpointPropertiesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub checkpoint_execution_stage_mask: PipelineStageFlags, /* private fields */ }
Native structure VkQueueFamilyCheckpointPropertiesNV.

Contract

Native structure VkQueueFamilyCheckpointPropertiesNV.

Khronos reference: VkQueueFamilyCheckpointPropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

checkpoint_execution_stage_mask

Field
checkpoint_execution_stage_mask: PipelineStageFlags

Native field checkpointExecutionStageMask.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_checkpoint_execution_stage_mask

Method
pub fn set_checkpoint_execution_stage_mask( self, value: PipelineStageFlags, ) -> Self

Set native field checkpointExecutionStageMask 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::QueueFamilyDataGraphOpticalFlowPropertiesARM

pub struct QueueFamilyDataGraphOpticalFlowPropertiesARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub supported_output_grid_sizes: DataGraphOpticalFlowGridSizeFlagsARM, pub supported_hint_grid_sizes: DataGraphOpticalFlowGridSizeFlagsARM, pub hint_supported: Bool32, pub cost_supported: Bool32, pub min_width: u32, pub min_height: u32, pub max_width: u32, pub max_height: u32, /* private fields */ }
Native structure VkQueueFamilyDataGraphOpticalFlowPropertiesARM.

Contract

Native structure VkQueueFamilyDataGraphOpticalFlowPropertiesARM.

Khronos reference: VkQueueFamilyDataGraphOpticalFlowPropertiesARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

supported_output_grid_sizes

Field
supported_output_grid_sizes: DataGraphOpticalFlowGridSizeFlagsARM

Native field supportedOutputGridSizes.

supported_hint_grid_sizes

Field
supported_hint_grid_sizes: DataGraphOpticalFlowGridSizeFlagsARM

Native field supportedHintGridSizes.

hint_supported

Field
hint_supported: Bool32

Native field hintSupported.

cost_supported

Field
cost_supported: Bool32

Native field costSupported.

min_width

Field
min_width: u32

Native field minWidth.

min_height

Field
min_height: u32

Native field minHeight.

max_width

Field
max_width: u32

Native field maxWidth.

max_height

Field
max_height: u32

Native field maxHeight.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_supported_output_grid_sizes

Method
pub fn set_supported_output_grid_sizes( self, value: DataGraphOpticalFlowGridSizeFlagsARM, ) -> Self

Set native field supportedOutputGridSizes without native effects.

set_supported_hint_grid_sizes

Method
pub fn set_supported_hint_grid_sizes( self, value: DataGraphOpticalFlowGridSizeFlagsARM, ) -> Self

Set native field supportedHintGridSizes without native effects.

set_hint_supported

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

Set native field hintSupported without native effects.

set_cost_supported

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

Set native field costSupported without native effects.

set_min_width

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

Set native field minWidth without native effects.

set_min_height

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

Set native field minHeight without native effects.

set_max_width

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

Set native field maxWidth without native effects.

set_max_height

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

Set native field maxHeight 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::QueueFamilyDataGraphProcessingEnginePropertiesARM

pub struct QueueFamilyDataGraphProcessingEnginePropertiesARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub foreign_semaphore_handle_types: ExternalSemaphoreHandleTypeFlags, pub foreign_memory_handle_types: ExternalMemoryHandleTypeFlags, /* private fields */ }
Native structure VkQueueFamilyDataGraphProcessingEnginePropertiesARM.

Contract

Native structure VkQueueFamilyDataGraphProcessingEnginePropertiesARM.

Khronos reference: VkQueueFamilyDataGraphProcessingEnginePropertiesARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

foreign_semaphore_handle_types

Field
foreign_semaphore_handle_types: ExternalSemaphoreHandleTypeFlags

Native field foreignSemaphoreHandleTypes.

foreign_memory_handle_types

Field
foreign_memory_handle_types: ExternalMemoryHandleTypeFlags

Native field foreignMemoryHandleTypes.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_foreign_semaphore_handle_types

Method
pub fn set_foreign_semaphore_handle_types( self, value: ExternalSemaphoreHandleTypeFlags, ) -> Self

Set native field foreignSemaphoreHandleTypes without native effects.

set_foreign_memory_handle_types

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

Set native field foreignMemoryHandleTypes 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::QueueFamilyDataGraphPropertiesARM

pub struct QueueFamilyDataGraphPropertiesARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub engine: PhysicalDeviceDataGraphProcessingEngineARM, pub operation: PhysicalDeviceDataGraphOperationSupportARM, /* private fields */ }
Native structure VkQueueFamilyDataGraphPropertiesARM.

Contract

Native structure VkQueueFamilyDataGraphPropertiesARM.

Khronos reference: VkQueueFamilyDataGraphPropertiesARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

engine

Field
engine: PhysicalDeviceDataGraphProcessingEngineARM

Native field engine.

operation

Field
operation: PhysicalDeviceDataGraphOperationSupportARM

Native field operation.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_engine

Method
pub fn set_engine( self, value: PhysicalDeviceDataGraphProcessingEngineARM, ) -> Self

Set native field engine without native effects.

set_operation

Method
pub fn set_operation( self, value: PhysicalDeviceDataGraphOperationSupportARM, ) -> Self

Set native field operation 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::QueueFamilyDataGraphTOSAPropertiesARM

pub struct QueueFamilyDataGraphTOSAPropertiesARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub profile_count: u32, pub p_profiles: *const DataGraphTOSANameQualityARM, pub extension_count: u32, pub p_extensions: *const DataGraphTOSANameQualityARM, pub level: DataGraphTOSALevelARM, /* private fields */ }
Native structure VkQueueFamilyDataGraphTOSAPropertiesARM.

Contract

Native structure VkQueueFamilyDataGraphTOSAPropertiesARM.

Khronos reference: VkQueueFamilyDataGraphTOSAPropertiesARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

profile_count

Field
profile_count: u32

Native field profileCount.

p_profiles

Field
p_profiles: *const DataGraphTOSANameQualityARM

Native field pProfiles.

extension_count

Field
extension_count: u32

Native field extensionCount.

p_extensions

Field
p_extensions: *const DataGraphTOSANameQualityARM

Native field pExtensions.

level

Field
level: DataGraphTOSALevelARM

Native field level.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_profile_count

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

Set native count profileCount 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_profiles

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

Borrow pProfiles and set checked native count profileCount. 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_extension_count

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

Set native count extensionCount 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_extensions

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

Borrow pExtensions and set checked native count extensionCount. 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_level

Method
pub fn set_level(self, value: DataGraphTOSALevelARM) -> Self

Set native field level 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::QueueFamilyGlobalPriorityProperties

pub struct QueueFamilyGlobalPriorityProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub priority_count: u32, pub priorities: [QueueGlobalPriority; 16], /* private fields */ }
Native structure VkQueueFamilyGlobalPriorityProperties.

Contract

Native structure VkQueueFamilyGlobalPriorityProperties.

Khronos reference: VkQueueFamilyGlobalPriorityProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

priority_count

Field
priority_count: u32

Native field priorityCount.

priorities

Field
priorities: [QueueGlobalPriority; 16]

Native field priorities.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_priority_count

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

Set native count priorityCount 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_priorities

Method
pub fn set_priorities(self, value: [QueueGlobalPriority; 16]) -> Self

Set native field priorities 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::QueueFamilyOptimalImageTransferGranularityPropertiesKHR

pub struct QueueFamilyOptimalImageTransferGranularityPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub optimal_image_transfer_granularity: Extent3D, /* private fields */ }
Native structure VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR.

Contract

Native structure VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR.

Khronos reference: VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

optimal_image_transfer_granularity

Field
optimal_image_transfer_granularity: Extent3D

Native field optimalImageTransferGranularity.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_optimal_image_transfer_granularity

Method
pub fn set_optimal_image_transfer_granularity(self, value: Extent3D) -> Self

Set native field optimalImageTransferGranularity 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::QueueFamilyOwnershipTransferPropertiesKHR

pub struct QueueFamilyOwnershipTransferPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub optimal_image_transfer_to_queue_families: u32, /* private fields */ }
Native structure VkQueueFamilyOwnershipTransferPropertiesKHR.

Contract

Native structure VkQueueFamilyOwnershipTransferPropertiesKHR.

Khronos reference: VkQueueFamilyOwnershipTransferPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

optimal_image_transfer_to_queue_families

Field
optimal_image_transfer_to_queue_families: u32

Native field optimalImageTransferToQueueFamilies.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_optimal_image_transfer_to_queue_families

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

Set native field optimalImageTransferToQueueFamilies 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::QueueFamilyProperties

#[repr(C)]pub struct QueueFamilyProperties { pub queue_flags: QueueFlags, pub queue_count: u32, pub timestamp_valid_bits: u32, pub min_image_transfer_granularity: Extent3D, }
Native structure VkQueueFamilyProperties.

Contract

Native structure VkQueueFamilyProperties.

Khronos reference: VkQueueFamilyProperties

Fields

queue_flags

Field
queue_flags: QueueFlags

Native field queueFlags.

queue_count

Field
queue_count: u32

Native field queueCount.

timestamp_valid_bits

Field
timestamp_valid_bits: u32

Native field timestampValidBits.

min_image_transfer_granularity

Field
min_image_transfer_granularity: Extent3D

Native field minImageTransferGranularity.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_queue_flags

Method
pub fn set_queue_flags(self, value: QueueFlags) -> Self

Set native field queueFlags without native effects.

set_queue_count

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

Set native field queueCount without native effects.

set_timestamp_valid_bits

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

Set native field timestampValidBits without native effects.

set_min_image_transfer_granularity

Method
pub fn set_min_image_transfer_granularity(self, value: Extent3D) -> Self

Set native field minImageTransferGranularity without native effects.

clone

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

Stvk::QueueFamilyProperties2

pub struct QueueFamilyProperties2<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub queue_family_properties: QueueFamilyProperties, /* private fields */ }
Native structure VkQueueFamilyProperties2.

Contract

Native structure VkQueueFamilyProperties2.

Khronos reference: VkQueueFamilyProperties2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

queue_family_properties

Field
queue_family_properties: QueueFamilyProperties

Native field queueFamilyProperties.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_queue_family_properties

Method
pub fn set_queue_family_properties(self, value: QueueFamilyProperties) -> Self

Set native field queueFamilyProperties 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::QueueFamilyQueryResultStatusPropertiesKHR

pub struct QueueFamilyQueryResultStatusPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub query_result_status_support: Bool32, /* private fields */ }
Native structure VkQueueFamilyQueryResultStatusPropertiesKHR.

Contract

Native structure VkQueueFamilyQueryResultStatusPropertiesKHR.

Khronos reference: VkQueueFamilyQueryResultStatusPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

query_result_status_support

Field
query_result_status_support: Bool32

Native field queryResultStatusSupport.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_query_result_status_support

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

Set native field queryResultStatusSupport 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::QueueFamilyVideoPropertiesKHR

pub struct QueueFamilyVideoPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub video_codec_operations: VideoCodecOperationFlagsKHR, /* private fields */ }
Native structure VkQueueFamilyVideoPropertiesKHR.

Contract

Native structure VkQueueFamilyVideoPropertiesKHR.

Khronos reference: VkQueueFamilyVideoPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

video_codec_operations

Field
video_codec_operations: VideoCodecOperationFlagsKHR

Native field videoCodecOperations.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_video_codec_operations

Method
pub fn set_video_codec_operations( self, value: VideoCodecOperationFlagsKHR, ) -> Self

Set native field videoCodecOperations 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::QueueFlagBits

Contract

Open integer representation of VkQueueFlagBits.

Khronos reference: VkQueueFlagBits

Fields

0

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

Methods and associated items

from_raw

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

as_raw

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

empty

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

Output

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

Output-1

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

Output-2

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

fmt

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

default

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

Output-3

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

eq

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

Stvk::QueueGlobalPriority

Contract

Open integer representation of VkQueueGlobalPriority.

Khronos reference: VkQueueGlobalPriority

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.

fmt

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

default

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

eq

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