Realm

vk · Structs · C5

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

StRustExperimental

Stvk::ConditionalRenderingFlagBitsEXT

Contract

Open integer representation of VkConditionalRenderingFlagBitsEXT.

Khronos reference: VkConditionalRenderingFlagBitsEXT

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::ConformanceVersion

Contract

Native structure VkConformanceVersion.

Khronos reference: VkConformanceVersion

Fields

major

Field
major: u8

Native field major.

minor

Field
minor: u8

Native field minor.

subminor

Field
subminor: u8

Native field subminor.

patch

Field
patch: u8

Native field patch.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_major

Method
pub fn set_major(self, value: u8) -> Self

Set native field major without native effects.

set_minor

Method
pub fn set_minor(self, value: u8) -> Self

Set native field minor without native effects.

set_subminor

Method
pub fn set_subminor(self, value: u8) -> Self

Set native field subminor without native effects.

set_patch

Method
pub fn set_patch(self, value: u8) -> Self

Set native field patch without native effects.

Stvk::ConservativeRasterizationModeEXT

Contract

Open integer representation of VkConservativeRasterizationModeEXT.

Khronos reference: VkConservativeRasterizationModeEXT

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

eq

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

Stvk::ConvertCooperativeVectorMatrixInfoNV

pub struct ConvertCooperativeVectorMatrixInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_size: usize, pub src_data: DeviceOrHostAddressConstKHR, pub p_dst_size: *mut usize, pub dst_data: DeviceOrHostAddressKHR, pub src_component_type: ComponentTypeKHR, pub dst_component_type: ComponentTypeKHR, pub num_rows: u32, pub num_columns: u32, pub src_layout: CooperativeVectorMatrixLayoutNV, pub src_stride: usize, pub dst_layout: CooperativeVectorMatrixLayoutNV, pub dst_stride: usize, /* private fields */ }
Native structure VkConvertCooperativeVectorMatrixInfoNV.

Contract

Native structure VkConvertCooperativeVectorMatrixInfoNV.

Khronos reference: VkConvertCooperativeVectorMatrixInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_size

Field
src_size: usize

Native field srcSize.

src_data

Field
src_data: DeviceOrHostAddressConstKHR

Native field srcData.

p_dst_size

Field
p_dst_size: *mut usize

Native field pDstSize.

dst_data

Field
dst_data: DeviceOrHostAddressKHR

Native field dstData.

src_component_type

Field
src_component_type: ComponentTypeKHR

Native field srcComponentType.

dst_component_type

Field
dst_component_type: ComponentTypeKHR

Native field dstComponentType.

num_rows

Field
num_rows: u32

Native field numRows.

num_columns

Field
num_columns: u32

Native field numColumns.

src_layout

Field
src_layout: CooperativeVectorMatrixLayoutNV

Native field srcLayout.

src_stride

Field
src_stride: usize

Native field srcStride.

dst_layout

Field
dst_layout: CooperativeVectorMatrixLayoutNV

Native field dstLayout.

dst_stride

Field
dst_stride: usize

Native field dstStride.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_src_size

Method
pub fn set_src_size(self, value: usize) -> Self

Set native field srcSize without native effects.

set_src_data

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

Set native field srcData without native effects.

set_dst_size

Method
pub fn set_dst_size(self, value: &'a mut usize) -> Self

Set native field pDstSize without native effects.

set_dst_data

Method
pub fn set_dst_data(self, value: DeviceOrHostAddressKHR) -> Self

Set native field dstData without native effects.

set_src_component_type

Method
pub fn set_src_component_type(self, value: ComponentTypeKHR) -> Self

Set native field srcComponentType without native effects.

set_dst_component_type

Method
pub fn set_dst_component_type(self, value: ComponentTypeKHR) -> Self

Set native field dstComponentType without native effects.

set_num_rows

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

Set native field numRows without native effects.

set_num_columns

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

Set native field numColumns without native effects.

set_src_layout

Method
pub fn set_src_layout(self, value: CooperativeVectorMatrixLayoutNV) -> Self

Set native field srcLayout without native effects.

set_src_stride

Method
pub fn set_src_stride(self, value: usize) -> Self

Set native field srcStride without native effects.

set_dst_layout

Method
pub fn set_dst_layout(self, value: CooperativeVectorMatrixLayoutNV) -> Self

Set native field dstLayout without native effects.

set_dst_stride

Method
pub fn set_dst_stride(self, value: usize) -> Self

Set native field dstStride 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::CooperativeMatrixFlagBitsEXT

Contract

Open integer representation of VkCooperativeMatrixFlagBitsEXT.

Khronos reference: VkCooperativeMatrixFlagBitsEXT

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::CooperativeMatrixFlexibleDimensionsPropertiesNV

pub struct CooperativeMatrixFlexibleDimensionsPropertiesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub m_granularity: u32, pub n_granularity: u32, pub k_granularity: u32, pub a_type: ComponentTypeKHR, pub b_type: ComponentTypeKHR, pub c_type: ComponentTypeKHR, pub result_type: ComponentTypeKHR, pub saturating_accumulation: Bool32, pub scope: ScopeKHR, pub workgroup_invocations: u32, /* private fields */ }
Native structure VkCooperativeMatrixFlexibleDimensionsPropertiesNV.

Contract

Native structure VkCooperativeMatrixFlexibleDimensionsPropertiesNV.

Khronos reference: VkCooperativeMatrixFlexibleDimensionsPropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

m_granularity

Field
m_granularity: u32

Native field MGranularity.

n_granularity

Field
n_granularity: u32

Native field NGranularity.

k_granularity

Field
k_granularity: u32

Native field KGranularity.

a_type

Field
a_type: ComponentTypeKHR

Native field AType.

b_type

Field
b_type: ComponentTypeKHR

Native field BType.

c_type

Field
c_type: ComponentTypeKHR

Native field CType.

result_type

Field
result_type: ComponentTypeKHR

Native field ResultType.

saturating_accumulation

Field
saturating_accumulation: Bool32

Native field saturatingAccumulation.

scope

Field
scope: ScopeKHR

Native field scope.

workgroup_invocations

Field
workgroup_invocations: u32

Native field workgroupInvocations.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_m_granularity

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

Set native field MGranularity without native effects.

set_n_granularity

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

Set native field NGranularity without native effects.

set_k_granularity

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

Set native field KGranularity without native effects.

set_a_type

Method
pub fn set_a_type(self, value: ComponentTypeKHR) -> Self

Set native field AType without native effects.

set_b_type

Method
pub fn set_b_type(self, value: ComponentTypeKHR) -> Self

Set native field BType without native effects.

set_c_type

Method
pub fn set_c_type(self, value: ComponentTypeKHR) -> Self

Set native field CType without native effects.

set_result_type

Method
pub fn set_result_type(self, value: ComponentTypeKHR) -> Self

Set native field ResultType without native effects.

set_saturating_accumulation

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

Set native field saturatingAccumulation without native effects.

set_scope

Method
pub fn set_scope(self, value: ScopeKHR) -> Self

Set native field scope without native effects.

set_workgroup_invocations

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

Set native field workgroupInvocations 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::CooperativeMatrixProperties2EXT

pub struct CooperativeMatrixProperties2EXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub m_granularity: u32, pub n_granularity: u32, pub k_granularity: u32, pub a_type: ComponentTypeKHR, pub b_type: ComponentTypeKHR, pub c_type: ComponentTypeKHR, pub result_type: ComponentTypeKHR, /* private fields */ }
Native structure VkCooperativeMatrixProperties2EXT.

Contract

Native structure VkCooperativeMatrixProperties2EXT.

Khronos reference: VkCooperativeMatrixProperties2EXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

m_granularity

Field
m_granularity: u32

Native field MGranularity.

n_granularity

Field
n_granularity: u32

Native field NGranularity.

k_granularity

Field
k_granularity: u32

Native field KGranularity.

a_type

Field
a_type: ComponentTypeKHR

Native field AType.

b_type

Field
b_type: ComponentTypeKHR

Native field BType.

c_type

Field
c_type: ComponentTypeKHR

Native field CType.

result_type

Field
result_type: ComponentTypeKHR

Native field ResultType.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_m_granularity

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

Set native field MGranularity without native effects.

set_n_granularity

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

Set native field NGranularity without native effects.

set_k_granularity

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

Set native field KGranularity without native effects.

set_a_type

Method
pub fn set_a_type(self, value: ComponentTypeKHR) -> Self

Set native field AType without native effects.

set_b_type

Method
pub fn set_b_type(self, value: ComponentTypeKHR) -> Self

Set native field BType without native effects.

set_c_type

Method
pub fn set_c_type(self, value: ComponentTypeKHR) -> Self

Set native field CType without native effects.

set_result_type

Method
pub fn set_result_type(self, value: ComponentTypeKHR) -> Self

Set native field ResultType 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::CooperativeMatrixPropertiesKHR

pub struct CooperativeMatrixPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub m_size: u32, pub n_size: u32, pub k_size: u32, pub a_type: ComponentTypeKHR, pub b_type: ComponentTypeKHR, pub c_type: ComponentTypeKHR, pub result_type: ComponentTypeKHR, pub saturating_accumulation: Bool32, pub scope: ScopeKHR, /* private fields */ }
Native structure VkCooperativeMatrixPropertiesKHR.

Contract

Native structure VkCooperativeMatrixPropertiesKHR.

Khronos reference: VkCooperativeMatrixPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

m_size

Field
m_size: u32

Native field MSize.

n_size

Field
n_size: u32

Native field NSize.

k_size

Field
k_size: u32

Native field KSize.

a_type

Field
a_type: ComponentTypeKHR

Native field AType.

b_type

Field
b_type: ComponentTypeKHR

Native field BType.

c_type

Field
c_type: ComponentTypeKHR

Native field CType.

result_type

Field
result_type: ComponentTypeKHR

Native field ResultType.

saturating_accumulation

Field
saturating_accumulation: Bool32

Native field saturatingAccumulation.

scope

Field
scope: ScopeKHR

Native field scope.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_m_size

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

Set native field MSize without native effects.

set_n_size

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

Set native field NSize without native effects.

set_k_size

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

Set native field KSize without native effects.

set_a_type

Method
pub fn set_a_type(self, value: ComponentTypeKHR) -> Self

Set native field AType without native effects.

set_b_type

Method
pub fn set_b_type(self, value: ComponentTypeKHR) -> Self

Set native field BType without native effects.

set_c_type

Method
pub fn set_c_type(self, value: ComponentTypeKHR) -> Self

Set native field CType without native effects.

set_result_type

Method
pub fn set_result_type(self, value: ComponentTypeKHR) -> Self

Set native field ResultType without native effects.

set_saturating_accumulation

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

Set native field saturatingAccumulation without native effects.

set_scope

Method
pub fn set_scope(self, value: ScopeKHR) -> Self

Set native field scope 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::CooperativeMatrixPropertiesNV

pub struct CooperativeMatrixPropertiesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub m_size: u32, pub n_size: u32, pub k_size: u32, pub a_type: ComponentTypeNV, pub b_type: ComponentTypeNV, pub c_type: ComponentTypeNV, pub d_type: ComponentTypeNV, pub scope: ScopeNV, /* private fields */ }
Native structure VkCooperativeMatrixPropertiesNV.

Contract

Native structure VkCooperativeMatrixPropertiesNV.

Khronos reference: VkCooperativeMatrixPropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

m_size

Field
m_size: u32

Native field MSize.

n_size

Field
n_size: u32

Native field NSize.

k_size

Field
k_size: u32

Native field KSize.

a_type

Field
a_type: ComponentTypeNV

Native field AType.

b_type

Field
b_type: ComponentTypeNV

Native field BType.

c_type

Field
c_type: ComponentTypeNV

Native field CType.

d_type

Field
d_type: ComponentTypeNV

Native field DType.

scope

Field
scope: ScopeNV

Native field scope.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_m_size

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

Set native field MSize without native effects.

set_n_size

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

Set native field NSize without native effects.

set_k_size

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

Set native field KSize without native effects.

set_a_type

Method
pub fn set_a_type(self, value: ComponentTypeNV) -> Self

Set native field AType without native effects.

set_b_type

Method
pub fn set_b_type(self, value: ComponentTypeNV) -> Self

Set native field BType without native effects.

set_c_type

Method
pub fn set_c_type(self, value: ComponentTypeNV) -> Self

Set native field CType without native effects.

set_d_type

Method
pub fn set_d_type(self, value: ComponentTypeNV) -> Self

Set native field DType without native effects.

set_scope

Method
pub fn set_scope(self, value: ScopeNV) -> Self

Set native field scope 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::CooperativeVectorMatrixLayoutNV

Contract

Open integer representation of VkCooperativeVectorMatrixLayoutNV.

Khronos reference: VkCooperativeVectorMatrixLayoutNV

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

eq

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

Stvk::CooperativeVectorPropertiesNV

pub struct CooperativeVectorPropertiesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub input_type: ComponentTypeKHR, pub input_interpretation: ComponentTypeKHR, pub matrix_interpretation: ComponentTypeKHR, pub bias_interpretation: ComponentTypeKHR, pub result_type: ComponentTypeKHR, pub transpose: Bool32, /* private fields */ }
Native structure VkCooperativeVectorPropertiesNV.

Contract

Native structure VkCooperativeVectorPropertiesNV.

Khronos reference: VkCooperativeVectorPropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

input_type

Field
input_type: ComponentTypeKHR

Native field inputType.

input_interpretation

Field
input_interpretation: ComponentTypeKHR

Native field inputInterpretation.

matrix_interpretation

Field
matrix_interpretation: ComponentTypeKHR

Native field matrixInterpretation.

bias_interpretation

Field
bias_interpretation: ComponentTypeKHR

Native field biasInterpretation.

result_type

Field
result_type: ComponentTypeKHR

Native field resultType.

transpose

Field
transpose: Bool32

Native field transpose.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_input_type

Method
pub fn set_input_type(self, value: ComponentTypeKHR) -> Self

Set native field inputType without native effects.

set_input_interpretation

Method
pub fn set_input_interpretation(self, value: ComponentTypeKHR) -> Self

Set native field inputInterpretation without native effects.

set_matrix_interpretation

Method
pub fn set_matrix_interpretation(self, value: ComponentTypeKHR) -> Self

Set native field matrixInterpretation without native effects.

set_bias_interpretation

Method
pub fn set_bias_interpretation(self, value: ComponentTypeKHR) -> Self

Set native field biasInterpretation without native effects.

set_result_type

Method
pub fn set_result_type(self, value: ComponentTypeKHR) -> Self

Set native field resultType without native effects.

set_transpose

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

Set native field transpose 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::CopyAccelerationStructureInfoKHR

pub struct CopyAccelerationStructureInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src: AccelerationStructureKHR, pub dst: AccelerationStructureKHR, pub mode: CopyAccelerationStructureModeKHR, /* private fields */ }
Native structure VkCopyAccelerationStructureInfoKHR.

Contract

Native structure VkCopyAccelerationStructureInfoKHR.

Khronos reference: VkCopyAccelerationStructureInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src

Field
src: AccelerationStructureKHR

Native field src.

dst

Field
dst: AccelerationStructureKHR

Native field dst.

mode

Field
mode: CopyAccelerationStructureModeKHR

Native field mode.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_src

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

Set native field src without native effects.

set_dst

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

Set native field dst without native effects.

set_mode

Method
pub fn set_mode(self, value: CopyAccelerationStructureModeKHR) -> Self

Set native field mode 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::CopyAccelerationStructureModeKHR

Contract

Open integer representation of VkCopyAccelerationStructureModeKHR.

Khronos reference: VkCopyAccelerationStructureModeKHR

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

eq

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

Stvk::CopyAccelerationStructureToMemoryInfoKHR

pub struct CopyAccelerationStructureToMemoryInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src: AccelerationStructureKHR, pub dst: DeviceOrHostAddressKHR, pub mode: CopyAccelerationStructureModeKHR, /* private fields */ }
Native structure VkCopyAccelerationStructureToMemoryInfoKHR.

Contract

Native structure VkCopyAccelerationStructureToMemoryInfoKHR.

Khronos reference: VkCopyAccelerationStructureToMemoryInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src

Field
src: AccelerationStructureKHR

Native field src.

dst

Field
dst: DeviceOrHostAddressKHR

Native field dst.

mode

Field
mode: CopyAccelerationStructureModeKHR

Native field mode.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_src

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

Set native field src without native effects.

set_dst

Method
pub fn set_dst(self, value: DeviceOrHostAddressKHR) -> Self

Set native field dst without native effects.

set_mode

Method
pub fn set_mode(self, value: CopyAccelerationStructureModeKHR) -> Self

Set native field mode 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::CopyBufferInfo2

pub struct CopyBufferInfo2<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_buffer: Buffer, pub dst_buffer: Buffer, pub region_count: u32, pub p_regions: *const BufferCopy2<'a>, /* private fields */ }
Native structure VkCopyBufferInfo2.

Contract

Native structure VkCopyBufferInfo2.

Khronos reference: VkCopyBufferInfo2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_buffer

Field
src_buffer: Buffer

Native field srcBuffer.

dst_buffer

Field
dst_buffer: Buffer

Native field dstBuffer.

region_count

Field
region_count: u32

Native field regionCount.

p_regions

Field
p_regions: *const BufferCopy2<'a>

Native field pRegions.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_src_buffer

Method
pub fn set_src_buffer(self, value: Buffer) -> Self

Set native field srcBuffer without native effects.

set_dst_buffer

Method
pub fn set_dst_buffer(self, value: Buffer) -> Self

Set native field dstBuffer without native effects.

set_region_count

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

Set native count regionCount 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_regions

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

Borrow pRegions and set checked native count regionCount. 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::CopyBufferToImageInfo2

pub struct CopyBufferToImageInfo2<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub src_buffer: Buffer, pub dst_image: Image, pub dst_image_layout: ImageLayout, pub region_count: u32, pub p_regions: *const BufferImageCopy2<'a>, /* private fields */ }
Native structure VkCopyBufferToImageInfo2.

Contract

Native structure VkCopyBufferToImageInfo2.

Khronos reference: VkCopyBufferToImageInfo2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_buffer

Field
src_buffer: Buffer

Native field srcBuffer.

dst_image

Field
dst_image: Image

Native field dstImage.

dst_image_layout

Field
dst_image_layout: ImageLayout

Native field dstImageLayout.

region_count

Field
region_count: u32

Native field regionCount.

p_regions

Field
p_regions: *const BufferImageCopy2<'a>

Native field pRegions.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_src_buffer

Method
pub fn set_src_buffer(self, value: Buffer) -> Self

Set native field srcBuffer without native effects.

set_dst_image

Method
pub fn set_dst_image(self, value: Image) -> Self

Set native field dstImage without native effects.

set_dst_image_layout

Method
pub fn set_dst_image_layout(self, value: ImageLayout) -> Self

Set native field dstImageLayout without native effects.

set_region_count

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

Set native count regionCount 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_regions

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

Borrow pRegions and set checked native count regionCount. 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.