vk · Structs · T1
16 public declarations with native signatures and source-owned contracts.
Stvk::TensorARM
Contract
Raw Vulkan handle VkTensorARM.
Khronos reference: VkTensorARM
Calls using this identity must satisfy Vulkan lifetime and synchronization rules.
Fields
0
0: u64Methods and associated items
NULL
is_null
from_raw
as_raw
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::TensorCaptureDescriptorDataInfoARM
Contract
Native structure VkTensorCaptureDescriptorDataInfoARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
tensor
tensor: TensorARMNative field tensor.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tensor
Set native field tensor without native effects.
push_next
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.
default
Stvk::TensorCopyARM
Contract
Native structure VkTensorCopyARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
dimension_count
dimension_count: u32Native field dimensionCount.
p_src_offset
p_src_offset: *const u64Native field pSrcOffset.
p_dst_offset
p_dst_offset: *const u64Native field pDstOffset.
p_extent
p_extent: *const u64Native field pExtent.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_dimension_count
Set native count dimensionCount 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_src_offset
Borrow parallel arrays sharing native dimensionCount. Optional arrays may be null.
Mutable arrays retain exclusive borrows of initialized output storage.
This checks lengths only; native valid usage and later raw edits remain caller obligations.
Errors
Returns a construction error for unequal lengths or native count overflow.
push_next
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.
default
Stvk::TensorCreateFlagBitsARM
Contract
Open integer representation of VkTensorCreateFlagBitsARM.
Fields
0
0: u64Methods and associated items
MUTABLE_FORMAT_BIT_ARM
Native value VK_TENSOR_CREATE_MUTABLE_FORMAT_BIT_ARM.
PROTECTED_BIT_ARM
Native value VK_TENSOR_CREATE_PROTECTED_BIT_ARM.
DESCRIPTOR_HEAP_CAPTURE_REPLAY_BIT_ARM
Native value VK_TENSOR_CREATE_DESCRIPTOR_HEAP_CAPTURE_REPLAY_BIT_ARM.
Khronos reference: VK_TENSOR_CREATE_DESCRIPTOR_HEAP_CAPTURE_REPLAY_BIT_ARM
DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM
Native value VK_TENSOR_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM.
Khronos reference: VK_TENSOR_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::TensorCreateInfoARM
pub struct TensorCreateInfoARM<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: TensorCreateFlagsARM,
pub p_description: *const TensorDescriptionARM<'a>,
pub sharing_mode: SharingMode,
pub queue_family_index_count: u32,
pub p_queue_family_indices: *const u32,
/* private fields */
}Contract
Native structure VkTensorCreateInfoARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: TensorCreateFlagsARMNative field flags.
p_description
p_description: *const TensorDescriptionARM<'a>Native field pDescription.
sharing_mode
sharing_mode: SharingModeNative field sharingMode.
queue_family_index_count
queue_family_index_count: u32Native field queueFamilyIndexCount.
p_queue_family_indices
p_queue_family_indices: *const u32Native field pQueueFamilyIndices.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_description
Set native field pDescription without native effects.
set_sharing_mode
Set native field sharingMode without native effects.
set_queue_family_index_count
Set native count queueFamilyIndexCount 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_queue_family_indices
Borrow pQueueFamilyIndices and set checked native count queueFamilyIndexCount.
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
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.
default
Stvk::TensorDependencyInfoARM
Contract
Native structure VkTensorDependencyInfoARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
tensor_memory_barrier_count
tensor_memory_barrier_count: u32Native field tensorMemoryBarrierCount.
p_tensor_memory_barriers
p_tensor_memory_barriers: *const TensorMemoryBarrierARM<'a>Native field pTensorMemoryBarriers.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tensor_memory_barrier_count
Set native count tensorMemoryBarrierCount 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_tensor_memory_barriers
Borrow pTensorMemoryBarriers and set checked native count tensorMemoryBarrierCount.
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
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.
default
Stvk::TensorDescriptionARM
Contract
Native structure VkTensorDescriptionARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
tiling
tiling: TensorTilingARMNative field tiling.
format
format: FormatNative field format.
dimension_count
dimension_count: u32Native field dimensionCount.
p_dimensions
p_dimensions: *const i64Native field pDimensions.
p_strides
p_strides: *const i64Native field pStrides.
usage
usage: TensorUsageFlagsARMNative field usage.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tiling
Set native field tiling without native effects.
set_format
Set native field format without native effects.
set_dimension_count
Set native count dimensionCount 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_dimensions
Borrow parallel arrays sharing native dimensionCount. Optional arrays may be null.
Mutable arrays retain exclusive borrows of initialized output storage.
This checks lengths only; native valid usage and later raw edits remain caller obligations.
Errors
Returns a construction error for unequal lengths or native count overflow.
set_usage
Set native field usage without native effects.
push_next
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.
default
Stvk::TensorExplicitTilingFormatPropertiesARM
pub struct TensorExplicitTilingFormatPropertiesARM<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub brick16_tiling_tensor_features: FormatFeatureFlags2,
pub brick8_tiling_tensor_features: FormatFeatureFlags2,
pub brick4_tiling_tensor_features: FormatFeatureFlags2,
pub block_u_tiling_tensor_features: FormatFeatureFlags2,
pub block_u64k_tiling_tensor_features: FormatFeatureFlags2,
/* private fields */
}Contract
Native structure VkTensorExplicitTilingFormatPropertiesARM.
Khronos reference: VkTensorExplicitTilingFormatPropertiesARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
brick16_tiling_tensor_features
brick16_tiling_tensor_features: FormatFeatureFlags2Native field brick16TilingTensorFeatures.
brick8_tiling_tensor_features
brick8_tiling_tensor_features: FormatFeatureFlags2Native field brick8TilingTensorFeatures.
brick4_tiling_tensor_features
brick4_tiling_tensor_features: FormatFeatureFlags2Native field brick4TilingTensorFeatures.
block_u_tiling_tensor_features
block_u_tiling_tensor_features: FormatFeatureFlags2Native field blockUTilingTensorFeatures.
block_u64k_tiling_tensor_features
block_u64k_tiling_tensor_features: FormatFeatureFlags2Native field blockU64kTilingTensorFeatures.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_brick16_tiling_tensor_features
Set native field brick16TilingTensorFeatures without native effects.
set_brick8_tiling_tensor_features
Set native field brick8TilingTensorFeatures without native effects.
set_brick4_tiling_tensor_features
Set native field brick4TilingTensorFeatures without native effects.
set_block_u_tiling_tensor_features
Set native field blockUTilingTensorFeatures without native effects.
set_block_u64k_tiling_tensor_features
Set native field blockU64kTilingTensorFeatures without native effects.
push_next
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.
default
Stvk::TensorFormatPropertiesARM
Contract
Native structure VkTensorFormatPropertiesARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
optimal_tiling_tensor_features
optimal_tiling_tensor_features: FormatFeatureFlags2Native field optimalTilingTensorFeatures.
linear_tiling_tensor_features
linear_tiling_tensor_features: FormatFeatureFlags2Native field linearTilingTensorFeatures.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_optimal_tiling_tensor_features
Set native field optimalTilingTensorFeatures without native effects.
set_linear_tiling_tensor_features
Set native field linearTilingTensorFeatures without native effects.
push_next
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.
default
Stvk::TensorMemoryBarrierARM
pub struct TensorMemoryBarrierARM<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_stage_mask: PipelineStageFlags2,
pub src_access_mask: AccessFlags2,
pub dst_stage_mask: PipelineStageFlags2,
pub dst_access_mask: AccessFlags2,
pub src_queue_family_index: u32,
pub dst_queue_family_index: u32,
pub tensor: TensorARM,
/* private fields */
}Contract
Native structure VkTensorMemoryBarrierARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_stage_mask
src_stage_mask: PipelineStageFlags2Native field srcStageMask.
src_access_mask
src_access_mask: AccessFlags2Native field srcAccessMask.
dst_stage_mask
dst_stage_mask: PipelineStageFlags2Native field dstStageMask.
dst_access_mask
dst_access_mask: AccessFlags2Native field dstAccessMask.
src_queue_family_index
src_queue_family_index: u32Native field srcQueueFamilyIndex.
dst_queue_family_index
dst_queue_family_index: u32Native field dstQueueFamilyIndex.
tensor
tensor: TensorARMNative field tensor.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_stage_mask
Set native field srcStageMask without native effects.
set_src_access_mask
Set native field srcAccessMask without native effects.
set_dst_stage_mask
Set native field dstStageMask without native effects.
set_dst_access_mask
Set native field dstAccessMask without native effects.
set_src_queue_family_index
Set native field srcQueueFamilyIndex without native effects.
set_dst_queue_family_index
Set native field dstQueueFamilyIndex without native effects.
set_tensor
Set native field tensor without native effects.
push_next
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.
default
Stvk::TensorMemoryRequirementsInfoARM
Contract
Native structure VkTensorMemoryRequirementsInfoARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
tensor
tensor: TensorARMNative field tensor.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tensor
Set native field tensor without native effects.
push_next
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.
default
Stvk::TensorRollingBackingCreateInfoARM
Contract
Native structure VkTensorRollingBackingCreateInfoARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
wraps
wraps: [u32; 4]Native field wraps.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_wraps
Set native field wraps without native effects.
push_next
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.
default
Stvk::TensorTilingARM
Contract
Open integer representation of VkTensorTilingARM.
Fields
0
0: i32Methods and associated items
OPTIMAL_ARM
Native value VK_TENSOR_TILING_OPTIMAL_ARM.
LINEAR_ARM
Native value VK_TENSOR_TILING_LINEAR_ARM.
BRICK_16_WIDE_ARM
Native value VK_TENSOR_TILING_BRICK_16_WIDE_ARM.
BRICK_8_WIDE_ARM
Native value VK_TENSOR_TILING_BRICK_8_WIDE_ARM.
BRICK_4_WIDE_ARM
Native value VK_TENSOR_TILING_BRICK_4_WIDE_ARM.
BLOCK_U_INTERLEAVED_ARM
Native value VK_TENSOR_TILING_BLOCK_U_INTERLEAVED_ARM.
BLOCK_U_INTERLEAVED_64K_ARM
Native value VK_TENSOR_TILING_BLOCK_U_INTERLEAVED_64K_ARM.
Khronos reference: VK_TENSOR_TILING_BLOCK_U_INTERLEAVED_64K_ARM
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::TensorUsageFlagBitsARM
Contract
Open integer representation of VkTensorUsageFlagBitsARM.
Fields
0
0: u64Methods and associated items
SHADER_BIT_ARM
Native value VK_TENSOR_USAGE_SHADER_BIT_ARM.
TRANSFER_SRC_BIT_ARM
Native value VK_TENSOR_USAGE_TRANSFER_SRC_BIT_ARM.
TRANSFER_DST_BIT_ARM
Native value VK_TENSOR_USAGE_TRANSFER_DST_BIT_ARM.
IMAGE_ALIASING_BIT_ARM
Native value VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARM.
DATA_GRAPH_BIT_ARM
Native value VK_TENSOR_USAGE_DATA_GRAPH_BIT_ARM.
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::TensorViewARM
Contract
Raw Vulkan handle VkTensorViewARM.
Khronos reference: VkTensorViewARM
Calls using this identity must satisfy Vulkan lifetime and synchronization rules.
Fields
0
0: u64Methods and associated items
NULL
is_null
from_raw
as_raw
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::TensorViewCaptureDescriptorDataInfoARM
Contract
Native structure VkTensorViewCaptureDescriptorDataInfoARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
tensor_view
tensor_view: TensorViewARMNative field tensorView.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tensor_view
Set native field tensorView without native effects.
push_next
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.