Realm

vk · Structs · T1

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

StRustExperimental

Stvk::TensorARM

Contract

Raw Vulkan handle VkTensorARM.

Khronos reference: VkTensorARM 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.

fmt

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

eq

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

Stvk::TensorCaptureDescriptorDataInfoARM

pub struct TensorCaptureDescriptorDataInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub tensor: TensorARM, /* private fields */ }
Native structure VkTensorCaptureDescriptorDataInfoARM.

Contract

Native structure VkTensorCaptureDescriptorDataInfoARM.

Khronos reference: VkTensorCaptureDescriptorDataInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

tensor

Field
tensor: TensorARM

Native field tensor.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_tensor

Method
pub fn set_tensor(self, value: TensorARM) -> Self

Set native field tensor 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::TensorCopyARM

pub struct TensorCopyARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub dimension_count: u32, pub p_src_offset: *const u64, pub p_dst_offset: *const u64, pub p_extent: *const u64, /* private fields */ }
Native structure VkTensorCopyARM.

Contract

Native structure VkTensorCopyARM.

Khronos reference: VkTensorCopyARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

dimension_count

Field
dimension_count: u32

Native field dimensionCount.

p_src_offset

Field
p_src_offset: *const u64

Native field pSrcOffset.

p_dst_offset

Field
p_dst_offset: *const u64

Native field pDstOffset.

p_extent

Field
p_extent: *const u64

Native field pExtent.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_dimension_count

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

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

Method
pub fn set_src_offset( self, dimension_count: u32, src_offset: Option<&'a [u64]>, dst_offset: Option<&'a [u64]>, extent: Option<&'a [u64]>, ) -> Result<Self, ConstructionError>

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

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

Contract

Open integer representation of VkTensorCreateFlagBitsARM.

Khronos reference: VkTensorCreateFlagBitsARM

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

Method
fn eq(&self, other: &TensorCreateFlagBitsARM) -> bool
Tests for 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 */ }
Native structure VkTensorCreateInfoARM.

Contract

Native structure VkTensorCreateInfoARM.

Khronos reference: VkTensorCreateInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: TensorCreateFlagsARM

Native field flags.

p_description

Field
p_description: *const TensorDescriptionARM<'a>

Native field pDescription.

sharing_mode

Field
sharing_mode: SharingMode

Native field sharingMode.

queue_family_index_count

Field
queue_family_index_count: u32

Native field queueFamilyIndexCount.

p_queue_family_indices

Field
p_queue_family_indices: *const u32

Native field pQueueFamilyIndices.

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

Set native field flags without native effects.

set_description

Method
pub fn set_description(self, value: &'a TensorDescriptionARM<'a>) -> Self

Set native field pDescription without native effects.

set_sharing_mode

Method
pub fn set_sharing_mode(self, value: SharingMode) -> Self

Set native field sharingMode without native effects.

set_queue_family_index_count

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

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

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

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

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

pub struct TensorDependencyInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub tensor_memory_barrier_count: u32, pub p_tensor_memory_barriers: *const TensorMemoryBarrierARM<'a>, /* private fields */ }
Native structure VkTensorDependencyInfoARM.

Contract

Native structure VkTensorDependencyInfoARM.

Khronos reference: VkTensorDependencyInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

tensor_memory_barrier_count

Field
tensor_memory_barrier_count: u32

Native field tensorMemoryBarrierCount.

p_tensor_memory_barriers

Field
p_tensor_memory_barriers: *const TensorMemoryBarrierARM<'a>

Native field pTensorMemoryBarriers.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_tensor_memory_barrier_count

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

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

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

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

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

pub struct TensorDescriptionARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub tiling: TensorTilingARM, pub format: Format, pub dimension_count: u32, pub p_dimensions: *const i64, pub p_strides: *const i64, pub usage: TensorUsageFlagsARM, /* private fields */ }
Native structure VkTensorDescriptionARM.

Contract

Native structure VkTensorDescriptionARM.

Khronos reference: VkTensorDescriptionARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

tiling

Field
tiling: TensorTilingARM

Native field tiling.

format

Field
format: Format

Native field format.

dimension_count

Field
dimension_count: u32

Native field dimensionCount.

p_dimensions

Field
p_dimensions: *const i64

Native field pDimensions.

p_strides

Field
p_strides: *const i64

Native field pStrides.

usage

Field
usage: TensorUsageFlagsARM

Native field usage.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_tiling

Method
pub fn set_tiling(self, value: TensorTilingARM) -> Self

Set native field tiling without native effects.

set_format

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

Set native field format without native effects.

set_dimension_count

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

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

Method
pub fn set_dimensions( self, dimensions: &'a [i64], strides: Option<&'a [i64]>, ) -> Result<Self, ConstructionError>

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

Method
pub fn set_usage(self, value: TensorUsageFlagsARM) -> Self

Set native field usage 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::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 */ }
Native structure VkTensorExplicitTilingFormatPropertiesARM.

Contract

Native structure VkTensorExplicitTilingFormatPropertiesARM.

Khronos reference: VkTensorExplicitTilingFormatPropertiesARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

brick16_tiling_tensor_features

Field
brick16_tiling_tensor_features: FormatFeatureFlags2

Native field brick16TilingTensorFeatures.

brick8_tiling_tensor_features

Field
brick8_tiling_tensor_features: FormatFeatureFlags2

Native field brick8TilingTensorFeatures.

brick4_tiling_tensor_features

Field
brick4_tiling_tensor_features: FormatFeatureFlags2

Native field brick4TilingTensorFeatures.

block_u_tiling_tensor_features

Field
block_u_tiling_tensor_features: FormatFeatureFlags2

Native field blockUTilingTensorFeatures.

block_u64k_tiling_tensor_features

Field
block_u64k_tiling_tensor_features: FormatFeatureFlags2

Native field blockU64kTilingTensorFeatures.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_brick16_tiling_tensor_features

Method
pub fn set_brick16_tiling_tensor_features( self, value: FormatFeatureFlags2, ) -> Self

Set native field brick16TilingTensorFeatures without native effects.

set_brick8_tiling_tensor_features

Method
pub fn set_brick8_tiling_tensor_features( self, value: FormatFeatureFlags2, ) -> Self

Set native field brick8TilingTensorFeatures without native effects.

set_brick4_tiling_tensor_features

Method
pub fn set_brick4_tiling_tensor_features( self, value: FormatFeatureFlags2, ) -> Self

Set native field brick4TilingTensorFeatures without native effects.

set_block_u_tiling_tensor_features

Method
pub fn set_block_u_tiling_tensor_features( self, value: FormatFeatureFlags2, ) -> Self

Set native field blockUTilingTensorFeatures without native effects.

set_block_u64k_tiling_tensor_features

Method
pub fn set_block_u64k_tiling_tensor_features( self, value: FormatFeatureFlags2, ) -> Self

Set native field blockU64kTilingTensorFeatures 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::TensorFormatPropertiesARM

pub struct TensorFormatPropertiesARM<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub optimal_tiling_tensor_features: FormatFeatureFlags2, pub linear_tiling_tensor_features: FormatFeatureFlags2, /* private fields */ }
Native structure VkTensorFormatPropertiesARM.

Contract

Native structure VkTensorFormatPropertiesARM.

Khronos reference: VkTensorFormatPropertiesARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

optimal_tiling_tensor_features

Field
optimal_tiling_tensor_features: FormatFeatureFlags2

Native field optimalTilingTensorFeatures.

linear_tiling_tensor_features

Field
linear_tiling_tensor_features: FormatFeatureFlags2

Native field linearTilingTensorFeatures.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_optimal_tiling_tensor_features

Method
pub fn set_optimal_tiling_tensor_features( self, value: FormatFeatureFlags2, ) -> Self

Set native field optimalTilingTensorFeatures without native effects.

set_linear_tiling_tensor_features

Method
pub fn set_linear_tiling_tensor_features( self, value: FormatFeatureFlags2, ) -> Self

Set native field linearTilingTensorFeatures 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::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 */ }
Native structure VkTensorMemoryBarrierARM.

Contract

Native structure VkTensorMemoryBarrierARM.

Khronos reference: VkTensorMemoryBarrierARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

src_stage_mask

Field
src_stage_mask: PipelineStageFlags2

Native field srcStageMask.

src_access_mask

Field
src_access_mask: AccessFlags2

Native field srcAccessMask.

dst_stage_mask

Field
dst_stage_mask: PipelineStageFlags2

Native field dstStageMask.

dst_access_mask

Field
dst_access_mask: AccessFlags2

Native field dstAccessMask.

src_queue_family_index

Field
src_queue_family_index: u32

Native field srcQueueFamilyIndex.

dst_queue_family_index

Field
dst_queue_family_index: u32

Native field dstQueueFamilyIndex.

tensor

Field
tensor: TensorARM

Native field tensor.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_src_stage_mask

Method
pub fn set_src_stage_mask(self, value: PipelineStageFlags2) -> Self

Set native field srcStageMask without native effects.

set_src_access_mask

Method
pub fn set_src_access_mask(self, value: AccessFlags2) -> Self

Set native field srcAccessMask without native effects.

set_dst_stage_mask

Method
pub fn set_dst_stage_mask(self, value: PipelineStageFlags2) -> Self

Set native field dstStageMask without native effects.

set_dst_access_mask

Method
pub fn set_dst_access_mask(self, value: AccessFlags2) -> Self

Set native field dstAccessMask without native effects.

set_src_queue_family_index

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

Set native field srcQueueFamilyIndex without native effects.

set_dst_queue_family_index

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

Set native field dstQueueFamilyIndex without native effects.

set_tensor

Method
pub fn set_tensor(self, value: TensorARM) -> Self

Set native field tensor 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::TensorMemoryRequirementsInfoARM

pub struct TensorMemoryRequirementsInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub tensor: TensorARM, /* private fields */ }
Native structure VkTensorMemoryRequirementsInfoARM.

Contract

Native structure VkTensorMemoryRequirementsInfoARM.

Khronos reference: VkTensorMemoryRequirementsInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

tensor

Field
tensor: TensorARM

Native field tensor.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_tensor

Method
pub fn set_tensor(self, value: TensorARM) -> Self

Set native field tensor 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::TensorRollingBackingCreateInfoARM

pub struct TensorRollingBackingCreateInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub wraps: [u32; 4], /* private fields */ }
Native structure VkTensorRollingBackingCreateInfoARM.

Contract

Native structure VkTensorRollingBackingCreateInfoARM.

Khronos reference: VkTensorRollingBackingCreateInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

wraps

Field
wraps: [u32; 4]

Native field wraps.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_wraps

Method
pub fn set_wraps(self, value: [u32; 4]) -> Self

Set native field wraps 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::TensorTilingARM

Contract

Open integer representation of VkTensorTilingARM.

Khronos reference: VkTensorTilingARM

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

eq

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

Stvk::TensorUsageFlagBitsARM

Contract

Open integer representation of VkTensorUsageFlagBitsARM.

Khronos reference: VkTensorUsageFlagBitsARM

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

Method
fn eq(&self, other: &TensorUsageFlagBitsARM) -> bool
Tests for 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

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.

fmt

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

eq

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

Stvk::TensorViewCaptureDescriptorDataInfoARM

pub struct TensorViewCaptureDescriptorDataInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub tensor_view: TensorViewARM, /* private fields */ }
Native structure VkTensorViewCaptureDescriptorDataInfoARM.

Contract

Native structure VkTensorViewCaptureDescriptorDataInfoARM.

Khronos reference: VkTensorViewCaptureDescriptorDataInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

tensor_view

Field
tensor_view: TensorViewARM

Native field tensorView.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_tensor_view

Method
pub fn set_tensor_view(self, value: TensorViewARM) -> Self

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