Realm

vk · Structs · A3

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

StRustExperimental

Stvk::AccelerationStructureNV

Contract

Raw Vulkan handle VkAccelerationStructureNV.

Khronos reference: VkAccelerationStructureNV Calls using this identity must satisfy Vulkan lifetime and synchronization rules.

Fields

0

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

Methods and associated items

NULL

Method
pub const NULL: Self
No public source comment is attached to this declaration.

is_null

Method
pub fn is_null(self) -> bool
No public source comment is attached to this declaration.

from_raw

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

as_raw

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

clone

Method
fn clone(&self) -> AccelerationStructureNV
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

eq

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

Stvk::AccelerationStructureSerializedBlockTypeKHR

Contract

Open integer representation of VkAccelerationStructureSerializedBlockTypeKHR.

Khronos reference: VkAccelerationStructureSerializedBlockTypeKHR

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

eq

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

Stvk::AccelerationStructureSRTMotionInstanceNV

#[repr(C)]pub struct AccelerationStructureSRTMotionInstanceNV { pub transform_t0: SRTDataNV, pub transform_t1: SRTDataNV, pub _bitfield_1: u32, pub _bitfield_2: u32, pub acceleration_structure_reference: u64, }
Native structure VkAccelerationStructureSRTMotionInstanceNV.

Contract

Native structure VkAccelerationStructureSRTMotionInstanceNV.

Khronos reference: VkAccelerationStructureSRTMotionInstanceNV

Fields

transform_t0

Field
transform_t0: SRTDataNV

Native field transformT0.

transform_t1

Field
transform_t1: SRTDataNV

Native field transformT1.

_bitfield_1

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

_bitfield_2

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

acceleration_structure_reference

Field
acceleration_structure_reference: u64

Native field accelerationStructureReference.

Methods and associated items

instance_custom_index

Method
pub const fn instance_custom_index(&self) -> u32

Read native bitfield instanceCustomIndex.

set_instance_custom_index

Method
pub fn set_instance_custom_index(&mut self, value: u32)

Set native bitfield instanceCustomIndex, retaining its low 24 bits.

mask

Method
pub const fn mask(&self) -> u32

Read native bitfield mask.

set_mask

Method
pub fn set_mask(&mut self, value: u32)

Set native bitfield mask, retaining its low 8 bits.

instance_shader_binding_table_record_offset

Method
pub const fn instance_shader_binding_table_record_offset(&self) -> u32

Read native bitfield instanceShaderBindingTableRecordOffset.

set_instance_shader_binding_table_record_offset

Method
pub fn set_instance_shader_binding_table_record_offset(&mut self, value: u32)

Set native bitfield instanceShaderBindingTableRecordOffset, retaining its low 24 bits.

flags

Method
pub const fn flags(&self) -> u32

Read native bitfield flags.

set_flags

Method
pub fn set_flags(&mut self, value: u32)

Set native bitfield flags, retaining its low 8 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_transform_t0

Method
pub fn set_transform_t0(self, value: SRTDataNV) -> Self

Set native field transformT0 without native effects.

set_transform_t1

Method
pub fn set_transform_t1(self, value: SRTDataNV) -> Self

Set native field transformT1 without native effects.

set_acceleration_structure_reference

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

Set native field accelerationStructureReference without native effects.

clone

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

Stvk::AccelerationStructureTrianglesDisplacementMicromapNV

pub struct AccelerationStructureTrianglesDisplacementMicromapNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub displacement_bias_and_scale_format: Format, pub displacement_vector_format: Format, pub displacement_bias_and_scale_buffer: DeviceOrHostAddressConstKHR, pub displacement_bias_and_scale_stride: DeviceSize, pub displacement_vector_buffer: DeviceOrHostAddressConstKHR, pub displacement_vector_stride: DeviceSize, pub displaced_micromap_primitive_flags: DeviceOrHostAddressConstKHR, pub displaced_micromap_primitive_flags_stride: DeviceSize, pub index_type: IndexType, pub index_buffer: DeviceOrHostAddressConstKHR, pub index_stride: DeviceSize, pub base_triangle: u32, pub usage_counts_count: u32, pub p_usage_counts: *const MicromapUsageEXT, pub pp_usage_counts: *const *const MicromapUsageEXT, pub micromap: MicromapEXT, /* private fields */ }
Native structure VkAccelerationStructureTrianglesDisplacementMicromapNV.

Contract

Native structure VkAccelerationStructureTrianglesDisplacementMicromapNV.

Khronos reference: VkAccelerationStructureTrianglesDisplacementMicromapNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

displacement_bias_and_scale_format

Field
displacement_bias_and_scale_format: Format

Native field displacementBiasAndScaleFormat.

displacement_vector_format

Field
displacement_vector_format: Format

Native field displacementVectorFormat.

displacement_bias_and_scale_buffer

Field
displacement_bias_and_scale_buffer: DeviceOrHostAddressConstKHR

Native field displacementBiasAndScaleBuffer.

displacement_bias_and_scale_stride

Field
displacement_bias_and_scale_stride: DeviceSize

Native field displacementBiasAndScaleStride.

displacement_vector_buffer

Field
displacement_vector_buffer: DeviceOrHostAddressConstKHR

Native field displacementVectorBuffer.

displacement_vector_stride

Field
displacement_vector_stride: DeviceSize

Native field displacementVectorStride.

displaced_micromap_primitive_flags

Field
displaced_micromap_primitive_flags: DeviceOrHostAddressConstKHR

Native field displacedMicromapPrimitiveFlags.

displaced_micromap_primitive_flags_stride

Field
displaced_micromap_primitive_flags_stride: DeviceSize

Native field displacedMicromapPrimitiveFlagsStride.

index_type

Field
index_type: IndexType

Native field indexType.

index_buffer

Field
index_buffer: DeviceOrHostAddressConstKHR

Native field indexBuffer.

index_stride

Field
index_stride: DeviceSize

Native field indexStride.

base_triangle

Field
base_triangle: u32

Native field baseTriangle.

usage_counts_count

Field
usage_counts_count: u32

Native field usageCountsCount.

p_usage_counts

Field
p_usage_counts: *const MicromapUsageEXT

Native field pUsageCounts.

pp_usage_counts

Field
pp_usage_counts: *const *const MicromapUsageEXT

Native field ppUsageCounts.

micromap

Field
micromap: MicromapEXT

Native field micromap.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_displacement_bias_and_scale_format

Method
pub fn set_displacement_bias_and_scale_format(self, value: Format) -> Self

Set native field displacementBiasAndScaleFormat without native effects.

set_displacement_vector_format

Method
pub fn set_displacement_vector_format(self, value: Format) -> Self

Set native field displacementVectorFormat without native effects.

set_displacement_bias_and_scale_buffer

Method
pub fn set_displacement_bias_and_scale_buffer( self, value: DeviceOrHostAddressConstKHR, ) -> Self

Set native field displacementBiasAndScaleBuffer without native effects.

set_displacement_bias_and_scale_stride

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

Set native field displacementBiasAndScaleStride without native effects.

set_displacement_vector_buffer

Method
pub fn set_displacement_vector_buffer( self, value: DeviceOrHostAddressConstKHR, ) -> Self

Set native field displacementVectorBuffer without native effects.

set_displacement_vector_stride

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

Set native field displacementVectorStride without native effects.

set_displaced_micromap_primitive_flags

Method
pub fn set_displaced_micromap_primitive_flags( self, value: DeviceOrHostAddressConstKHR, ) -> Self

Set native field displacedMicromapPrimitiveFlags without native effects.

set_displaced_micromap_primitive_flags_stride

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

Set native field displacedMicromapPrimitiveFlagsStride without native effects.

set_index_type

Method
pub fn set_index_type(self, value: IndexType) -> Self

Set native field indexType without native effects.

set_index_buffer

Method
pub fn set_index_buffer(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field indexBuffer without native effects.

set_index_stride

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

Set native field indexStride without native effects.

set_base_triangle

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

Set native field baseTriangle without native effects.

set_usage_counts_count

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

Set native count usageCountsCount 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_usage_counts

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

Borrow pUsageCounts and set checked native count usageCountsCount. 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_pp_usage_counts

Method
pub fn set_pp_usage_counts( self, value: &'a [*const MicromapUsageEXT], ) -> Result<Self, ConstructionError>

Borrow ppUsageCounts and set checked native count usageCountsCount. 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_micromap

Method
pub fn set_micromap(self, value: MicromapEXT) -> Self

Set native field micromap 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::AccelerationStructureTrianglesOpacityMicromapEXT

pub struct AccelerationStructureTrianglesOpacityMicromapEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub index_type: IndexType, pub index_buffer: DeviceOrHostAddressConstKHR, pub index_stride: DeviceSize, pub base_triangle: u32, pub usage_counts_count: u32, pub p_usage_counts: *const MicromapUsageEXT, pub pp_usage_counts: *const *const MicromapUsageEXT, pub micromap: MicromapEXT, /* private fields */ }
Native structure VkAccelerationStructureTrianglesOpacityMicromapEXT.

Contract

Native structure VkAccelerationStructureTrianglesOpacityMicromapEXT.

Khronos reference: VkAccelerationStructureTrianglesOpacityMicromapEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

index_type

Field
index_type: IndexType

Native field indexType.

index_buffer

Field
index_buffer: DeviceOrHostAddressConstKHR

Native field indexBuffer.

index_stride

Field
index_stride: DeviceSize

Native field indexStride.

base_triangle

Field
base_triangle: u32

Native field baseTriangle.

usage_counts_count

Field
usage_counts_count: u32

Native field usageCountsCount.

p_usage_counts

Field
p_usage_counts: *const MicromapUsageEXT

Native field pUsageCounts.

pp_usage_counts

Field
pp_usage_counts: *const *const MicromapUsageEXT

Native field ppUsageCounts.

micromap

Field
micromap: MicromapEXT

Native field micromap.

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

Method
pub fn set_index_type(self, value: IndexType) -> Self

Set native field indexType without native effects.

set_index_buffer

Method
pub fn set_index_buffer(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field indexBuffer without native effects.

set_index_stride

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

Set native field indexStride without native effects.

set_base_triangle

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

Set native field baseTriangle without native effects.

set_usage_counts_count

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

Set native count usageCountsCount 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_usage_counts

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

Borrow pUsageCounts and set checked native count usageCountsCount. 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_pp_usage_counts

Method
pub fn set_pp_usage_counts( self, value: &'a [*const MicromapUsageEXT], ) -> Result<Self, ConstructionError>

Borrow ppUsageCounts and set checked native count usageCountsCount. 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_micromap

Method
pub fn set_micromap(self, value: MicromapEXT) -> Self

Set native field micromap 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::AccelerationStructureTrianglesOpacityMicromapKHR

pub struct AccelerationStructureTrianglesOpacityMicromapKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub index_type: IndexType, pub index_buffer: DeviceAddress, pub index_stride: DeviceSize, pub base_triangle: u32, pub micromap: AccelerationStructureKHR, /* private fields */ }
Native structure VkAccelerationStructureTrianglesOpacityMicromapKHR.

Contract

Native structure VkAccelerationStructureTrianglesOpacityMicromapKHR.

Khronos reference: VkAccelerationStructureTrianglesOpacityMicromapKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

index_type

Field
index_type: IndexType

Native field indexType.

index_buffer

Field
index_buffer: DeviceAddress

Native field indexBuffer.

index_stride

Field
index_stride: DeviceSize

Native field indexStride.

base_triangle

Field
base_triangle: u32

Native field baseTriangle.

micromap

Field
micromap: AccelerationStructureKHR

Native field micromap.

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

Method
pub fn set_index_type(self, value: IndexType) -> Self

Set native field indexType without native effects.

set_index_buffer

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

Set native field indexBuffer without native effects.

set_index_stride

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

Set native field indexStride without native effects.

set_base_triangle

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

Set native field baseTriangle without native effects.

set_micromap

Method
pub fn set_micromap(self, value: AccelerationStructureKHR) -> Self

Set native field micromap 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::AccelerationStructureTypeKHR

Contract

Open integer representation of VkAccelerationStructureTypeKHR.

Khronos reference: VkAccelerationStructureTypeKHR

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

eq

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

Stvk::AccelerationStructureVersionInfoKHR

pub struct AccelerationStructureVersionInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_version_data: *const u8, /* private fields */ }
Native structure VkAccelerationStructureVersionInfoKHR.

Contract

Native structure VkAccelerationStructureVersionInfoKHR.

Khronos reference: VkAccelerationStructureVersionInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_version_data

Field
p_version_data: *const u8

Native field pVersionData.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_version_data

Method
pub fn set_version_data(self, value: &'a [u8; 32]) -> Self

Borrow the two UUIDs required by the native version-data extent.

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

Contract

Open integer representation of VkAccessFlagBits.

Khronos reference: VkAccessFlagBits

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

Output-1

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

Output-2

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

Output-3

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

eq

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

Stvk::AccessFlagBits3KHR

Contract

Open integer representation of VkAccessFlagBits3KHR.

Khronos reference: VkAccessFlagBits3KHR

Fields

0

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

Methods and associated items

from_raw

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

as_raw

Method
pub const fn as_raw(self) -> u64
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 = AccessFlagBits3KHR
The resulting type after applying the & operator.

Output-1

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

Output-2

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

Output-3

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

eq

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

Stvk::AcquireNextImageInfoKHR

pub struct AcquireNextImageInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub swapchain: SwapchainKHR, pub timeout: u64, pub semaphore: Semaphore, pub fence: Fence, pub device_mask: u32, /* private fields */ }
Native structure VkAcquireNextImageInfoKHR.

Contract

Native structure VkAcquireNextImageInfoKHR.

Khronos reference: VkAcquireNextImageInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

swapchain

Field
swapchain: SwapchainKHR

Native field swapchain.

timeout

Field
timeout: u64

Native field timeout.

semaphore

Field
semaphore: Semaphore

Native field semaphore.

fence

Field
fence: Fence

Native field fence.

device_mask

Field
device_mask: u32

Native field deviceMask.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_swapchain

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

Set native field swapchain without native effects.

set_timeout

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

Set native field timeout without native effects.

set_semaphore

Method
pub fn set_semaphore(self, value: Semaphore) -> Self

Set native field semaphore without native effects.

set_fence

Method
pub fn set_fence(self, value: Fence) -> Self

Set native field fence without native effects.

set_device_mask

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

Set native field deviceMask 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::AcquireProfilingLockFlagBitsKHR

Contract

Open integer representation of VkAcquireProfilingLockFlagBitsKHR.

Khronos reference: VkAcquireProfilingLockFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::AcquireProfilingLockInfoKHR

pub struct AcquireProfilingLockInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: AcquireProfilingLockFlagsKHR, pub timeout: u64, /* private fields */ }
Native structure VkAcquireProfilingLockInfoKHR.

Contract

Native structure VkAcquireProfilingLockInfoKHR.

Khronos reference: VkAcquireProfilingLockInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: AcquireProfilingLockFlagsKHR

Native field flags.

timeout

Field
timeout: u64

Native field timeout.

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

Set native field flags without native effects.

set_timeout

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

Set native field timeout 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::AddressCommandFlagBitsKHR

Contract

Open integer representation of VkAddressCommandFlagBitsKHR.

Khronos reference: VkAddressCommandFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::AddressCopyFlagBitsKHR

Contract

Open integer representation of VkAddressCopyFlagBitsKHR.

Khronos reference: VkAddressCopyFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::AHardwareBuffer

Contract

Native type AHardwareBuffer.

Khronos registry source: AHardwareBuffer