#[repr(C)]pub struct TensorDescriptionARM {
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: TensorUsageFlagBitsARM,
}Expand description
VkTensorDescriptionARM
Provided by VK_ARM_tensors.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_TENSOR_DESCRIPTION_ARM.
p_next: *const c_voidOptional, may be null.
tiling: TensorTilingARM§format: Format§dimension_count: u32Length of p_strides.
p_dimensions: *const i64§p_strides: *const i64Optional, may be null.
usage: TensorUsageFlagBitsARMImplementations§
Source§impl TensorDescriptionARM
impl TensorDescriptionARM
Sourcepub fn builder<'a>() -> TensorDescriptionARMBuilder<'a>
pub fn builder<'a>() -> TensorDescriptionARMBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for TensorDescriptionARM
impl Clone for TensorDescriptionARM
Source§fn clone(&self) -> TensorDescriptionARM
fn clone(&self) -> TensorDescriptionARM
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TensorDescriptionARM
impl Debug for TensorDescriptionARM
Source§impl Default for TensorDescriptionARM
impl Default for TensorDescriptionARM
Source§fn default() -> TensorDescriptionARM
fn default() -> TensorDescriptionARM
Returns the “default value” for a type. Read more
impl Copy for TensorDescriptionARM
impl ExtendsDataGraphPipelineConstantARM for TensorDescriptionARM
impl ExtendsDataGraphPipelineResourceInfoARM for TensorDescriptionARM
Auto Trait Implementations§
impl Freeze for TensorDescriptionARM
impl RefUnwindSafe for TensorDescriptionARM
impl !Send for TensorDescriptionARM
impl !Sync for TensorDescriptionARM
impl Unpin for TensorDescriptionARM
impl UnsafeUnpin for TensorDescriptionARM
impl UnwindSafe for TensorDescriptionARM
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more