Realm

vk · Structs · P1

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

StRustExperimental

Stvk::PartitionedAccelerationStructureFlagsNV

pub struct PartitionedAccelerationStructureFlagsNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub enable_partition_translation: Bool32, /* private fields */ }
Native structure VkPartitionedAccelerationStructureFlagsNV.

Contract

Native structure VkPartitionedAccelerationStructureFlagsNV.

Khronos reference: VkPartitionedAccelerationStructureFlagsNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

enable_partition_translation

Field
enable_partition_translation: Bool32

Native field enablePartitionTranslation.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_enable_partition_translation

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

Set native field enablePartitionTranslation 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::PartitionedAccelerationStructureInstanceFlagBitsNV

Contract

Open integer representation of VkPartitionedAccelerationStructureInstanceFlagBitsNV.

Khronos reference: VkPartitionedAccelerationStructureInstanceFlagBitsNV

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 = PartitionedAccelerationStructureInstanceFlagBitsNV
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> PartitionedAccelerationStructureInstanceFlagBitsNV
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() -> PartitionedAccelerationStructureInstanceFlagBitsNV
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::PartitionedAccelerationStructureInstancesInputNV

pub struct PartitionedAccelerationStructureInstancesInputNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: BuildAccelerationStructureFlagsKHR, pub instance_count: u32, pub max_instance_per_partition_count: u32, pub partition_count: u32, pub max_instance_in_global_partition_count: u32, /* private fields */ }
Native structure VkPartitionedAccelerationStructureInstancesInputNV.

Contract

Native structure VkPartitionedAccelerationStructureInstancesInputNV.

Khronos reference: VkPartitionedAccelerationStructureInstancesInputNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: BuildAccelerationStructureFlagsKHR

Native field flags.

instance_count

Field
instance_count: u32

Native field instanceCount.

max_instance_per_partition_count

Field
max_instance_per_partition_count: u32

Native field maxInstancePerPartitionCount.

partition_count

Field
partition_count: u32

Native field partitionCount.

max_instance_in_global_partition_count

Field
max_instance_in_global_partition_count: u32

Native field maxInstanceInGlobalPartitionCount.

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

Set native field flags without native effects.

set_instance_count

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

Set native field instanceCount without native effects.

set_max_instance_per_partition_count

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

Set native field maxInstancePerPartitionCount without native effects.

set_partition_count

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

Set native field partitionCount without native effects.

set_max_instance_in_global_partition_count

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

Set native field maxInstanceInGlobalPartitionCount 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::PartitionedAccelerationStructureOpTypeNV

Contract

Open integer representation of VkPartitionedAccelerationStructureOpTypeNV.

Khronos reference: VkPartitionedAccelerationStructureOpTypeNV

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

eq

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

Stvk::PartitionedAccelerationStructureUpdateInstanceDataNV

#[repr(C)]pub struct PartitionedAccelerationStructureUpdateInstanceDataNV { pub instance_index: u32, pub instance_contribution_to_hit_group_index: u32, pub acceleration_structure: DeviceAddress, }
Native structure VkPartitionedAccelerationStructureUpdateInstanceDataNV.

Contract

Native structure VkPartitionedAccelerationStructureUpdateInstanceDataNV.

Khronos reference: VkPartitionedAccelerationStructureUpdateInstanceDataNV

Fields

instance_index

Field
instance_index: u32

Native field instanceIndex.

instance_contribution_to_hit_group_index

Field
instance_contribution_to_hit_group_index: u32

Native field instanceContributionToHitGroupIndex.

acceleration_structure

Field
acceleration_structure: DeviceAddress

Native field accelerationStructure.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_instance_index

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

Set native field instanceIndex without native effects.

set_instance_contribution_to_hit_group_index

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

Set native field instanceContributionToHitGroupIndex without native effects.

set_acceleration_structure

Method
pub fn set_acceleration_structure(self, value: DeviceAddress) -> Self

Set native field accelerationStructure without native effects.

clone

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

Stvk::PartitionedAccelerationStructureWriteInstanceDataNV

#[repr(C)]pub struct PartitionedAccelerationStructureWriteInstanceDataNV { pub transform: TransformMatrixKHR, pub explicit_aabb: [f32; 6], pub instance_id: u32, pub instance_mask: u32, pub instance_contribution_to_hit_group_index: u32, pub instance_flags: PartitionedAccelerationStructureInstanceFlagsNV, pub instance_index: u32, pub partition_index: u32, pub acceleration_structure: DeviceAddress, }
Native structure VkPartitionedAccelerationStructureWriteInstanceDataNV.

Contract

Native structure VkPartitionedAccelerationStructureWriteInstanceDataNV.

Khronos reference: VkPartitionedAccelerationStructureWriteInstanceDataNV

Fields

transform

Field
transform: TransformMatrixKHR

Native field transform.

explicit_aabb

Field
explicit_aabb: [f32; 6]

Native field explicitAABB.

instance_id

Field
instance_id: u32

Native field instanceID.

instance_mask

Field
instance_mask: u32

Native field instanceMask.

instance_contribution_to_hit_group_index

Field
instance_contribution_to_hit_group_index: u32

Native field instanceContributionToHitGroupIndex.

instance_flags

Field
instance_flags: PartitionedAccelerationStructureInstanceFlagsNV

Native field instanceFlags.

instance_index

Field
instance_index: u32

Native field instanceIndex.

partition_index

Field
partition_index: u32

Native field partitionIndex.

acceleration_structure

Field
acceleration_structure: DeviceAddress

Native field accelerationStructure.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_transform

Method
pub fn set_transform(self, value: TransformMatrixKHR) -> Self

Set native field transform without native effects.

set_explicit_aabb

Method
pub fn set_explicit_aabb(self, value: [f32; 6]) -> Self

Set native field explicitAABB without native effects.

set_instance_id

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

Set native field instanceID without native effects.

set_instance_mask

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

Set native field instanceMask without native effects.

set_instance_contribution_to_hit_group_index

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

Set native field instanceContributionToHitGroupIndex without native effects.

set_instance_flags

Method
pub fn set_instance_flags( self, value: PartitionedAccelerationStructureInstanceFlagsNV, ) -> Self

Set native field instanceFlags without native effects.

set_instance_index

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

Set native field instanceIndex without native effects.

set_partition_index

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

Set native field partitionIndex without native effects.

set_acceleration_structure

Method
pub fn set_acceleration_structure(self, value: DeviceAddress) -> Self

Set native field accelerationStructure without native effects.

clone

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

Stvk::PartitionedAccelerationStructureWritePartitionTranslationDataNV

#[repr(C)]pub struct PartitionedAccelerationStructureWritePartitionTranslationDataNV { pub partition_index: u32, pub partition_translation: [f32; 3], }
Native structure VkPartitionedAccelerationStructureWritePartitionTranslationDataNV.

Contract

Native structure VkPartitionedAccelerationStructureWritePartitionTranslationDataNV.

Khronos reference: VkPartitionedAccelerationStructureWritePartitionTranslationDataNV

Fields

partition_index

Field
partition_index: u32

Native field partitionIndex.

partition_translation

Field
partition_translation: [f32; 3]

Native field partitionTranslation.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_partition_index

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

Set native field partitionIndex without native effects.

set_partition_translation

Method
pub fn set_partition_translation(self, value: [f32; 3]) -> Self

Set native field partitionTranslation without native effects.

clone

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

Stvk::PastPresentationTimingEXT

pub struct PastPresentationTimingEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_id: u64, pub target_time: u64, pub present_stage_count: u32, pub p_present_stages: *mut PresentStageTimeEXT, pub time_domain: TimeDomainKHR, pub time_domain_id: u64, pub report_complete: Bool32, /* private fields */ }
Native structure VkPastPresentationTimingEXT.

Contract

Native structure VkPastPresentationTimingEXT.

Khronos reference: VkPastPresentationTimingEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_id

Field
present_id: u64

Native field presentId.

target_time

Field
target_time: u64

Native field targetTime.

present_stage_count

Field
present_stage_count: u32

Native field presentStageCount.

p_present_stages

Field
p_present_stages: *mut PresentStageTimeEXT

Native field pPresentStages.

time_domain

Field
time_domain: TimeDomainKHR

Native field timeDomain.

time_domain_id

Field
time_domain_id: u64

Native field timeDomainId.

report_complete

Field
report_complete: Bool32

Native field reportComplete.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_present_id

Method
pub fn set_present_id(self, value: u64) -> Self

Set native field presentId without native effects.

set_target_time

Method
pub fn set_target_time(self, value: u64) -> Self

Set native field targetTime without native effects.

set_present_stage_count

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

Set native count presentStageCount 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_present_stages

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

Borrow pPresentStages and set checked native count presentStageCount. 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_time_domain

Method
pub fn set_time_domain(self, value: TimeDomainKHR) -> Self

Set native field timeDomain without native effects.

set_time_domain_id

Method
pub fn set_time_domain_id(self, value: u64) -> Self

Set native field timeDomainId without native effects.

set_report_complete

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

Set native field reportComplete 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::PastPresentationTimingFlagBitsEXT

Contract

Open integer representation of VkPastPresentationTimingFlagBitsEXT.

Khronos reference: VkPastPresentationTimingFlagBitsEXT

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 = PastPresentationTimingFlagBitsEXT
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> PastPresentationTimingFlagBitsEXT
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() -> PastPresentationTimingFlagBitsEXT
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::PastPresentationTimingGOOGLE

#[repr(C)]pub struct PastPresentationTimingGOOGLE { pub present_id: u32, pub desired_present_time: u64, pub actual_present_time: u64, pub earliest_present_time: u64, pub present_margin: u64, }
Native structure VkPastPresentationTimingGOOGLE.

Contract

Native structure VkPastPresentationTimingGOOGLE.

Khronos reference: VkPastPresentationTimingGOOGLE

Fields

present_id

Field
present_id: u32

Native field presentID.

desired_present_time

Field
desired_present_time: u64

Native field desiredPresentTime.

actual_present_time

Field
actual_present_time: u64

Native field actualPresentTime.

earliest_present_time

Field
earliest_present_time: u64

Native field earliestPresentTime.

present_margin

Field
present_margin: u64

Native field presentMargin.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_present_id

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

Set native field presentID without native effects.

set_desired_present_time

Method
pub fn set_desired_present_time(self, value: u64) -> Self

Set native field desiredPresentTime without native effects.

set_actual_present_time

Method
pub fn set_actual_present_time(self, value: u64) -> Self

Set native field actualPresentTime without native effects.

set_earliest_present_time

Method
pub fn set_earliest_present_time(self, value: u64) -> Self

Set native field earliestPresentTime without native effects.

set_present_margin

Method
pub fn set_present_margin(self, value: u64) -> Self

Set native field presentMargin without native effects.

clone

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

Stvk::PastPresentationTimingInfoEXT

pub struct PastPresentationTimingInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: PastPresentationTimingFlagsEXT, pub swapchain: SwapchainKHR, /* private fields */ }
Native structure VkPastPresentationTimingInfoEXT.

Contract

Native structure VkPastPresentationTimingInfoEXT.

Khronos reference: VkPastPresentationTimingInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: PastPresentationTimingFlagsEXT

Native field flags.

swapchain

Field
swapchain: SwapchainKHR

Native field swapchain.

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

Set native field flags without native effects.

set_swapchain

Method
pub fn set_swapchain(self, value: SwapchainKHR) -> Self

Set native field swapchain 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::PastPresentationTimingPropertiesEXT

pub struct PastPresentationTimingPropertiesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub timing_properties_counter: u64, pub time_domains_counter: u64, pub presentation_timing_count: u32, pub p_presentation_timings: *mut PastPresentationTimingEXT<'a>, /* private fields */ }
Native structure VkPastPresentationTimingPropertiesEXT.

Contract

Native structure VkPastPresentationTimingPropertiesEXT.

Khronos reference: VkPastPresentationTimingPropertiesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

timing_properties_counter

Field
timing_properties_counter: u64

Native field timingPropertiesCounter.

time_domains_counter

Field
time_domains_counter: u64

Native field timeDomainsCounter.

presentation_timing_count

Field
presentation_timing_count: u32

Native field presentationTimingCount.

p_presentation_timings

Field
p_presentation_timings: *mut PastPresentationTimingEXT<'a>

Native field pPresentationTimings.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_timing_properties_counter

Method
pub fn set_timing_properties_counter(self, value: u64) -> Self

Set native field timingPropertiesCounter without native effects.

set_time_domains_counter

Method
pub fn set_time_domains_counter(self, value: u64) -> Self

Set native field timeDomainsCounter without native effects.

set_presentation_timing_count

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

Set native count presentationTimingCount 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_presentation_timings

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

Borrow pPresentationTimings and set checked native count presentationTimingCount. 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::PeerMemoryFeatureFlagBits

Contract

Open integer representation of VkPeerMemoryFeatureFlagBits.

Khronos reference: VkPeerMemoryFeatureFlagBits

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 = PeerMemoryFeatureFlagBits
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> PeerMemoryFeatureFlagBits
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() -> PeerMemoryFeatureFlagBits
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::PerfHintInfoQCOM

pub struct PerfHintInfoQCOM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub type: PerfHintTypeQCOM, pub scale: u32, /* private fields */ }
Native structure VkPerfHintInfoQCOM.

Contract

Native structure VkPerfHintInfoQCOM.

Khronos reference: VkPerfHintInfoQCOM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

type

Field
type: PerfHintTypeQCOM

Native field type.

scale

Field
scale: u32

Native field scale.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_type

Method
pub fn set_type(self, value: PerfHintTypeQCOM) -> Self

Set native field type without native effects.

set_scale

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

Set native field scale 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::PerfHintTypeQCOM

Contract

Open integer representation of VkPerfHintTypeQCOM.

Khronos reference: VkPerfHintTypeQCOM

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

eq

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

Stvk::PerformanceConfigurationAcquireInfoINTEL

pub struct PerformanceConfigurationAcquireInfoINTEL<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub type: PerformanceConfigurationTypeINTEL, /* private fields */ }
Native structure VkPerformanceConfigurationAcquireInfoINTEL.

Contract

Native structure VkPerformanceConfigurationAcquireInfoINTEL.

Khronos reference: VkPerformanceConfigurationAcquireInfoINTEL

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

type

Field
type: PerformanceConfigurationTypeINTEL

Native field type.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_type

Method
pub fn set_type(self, value: PerformanceConfigurationTypeINTEL) -> Self

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