pub struct TensorDescriptionARMBuilder<'a> { /* private fields */ }Expand description
Builder for TensorDescriptionARM with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> TensorDescriptionARMBuilder<'a>
impl<'a> TensorDescriptionARMBuilder<'a>
pub fn tiling(self, value: TensorTilingARM) -> Self
pub fn format(self, value: Format) -> Self
pub fn dimensions(self, slice: &'a [i64]) -> Self
pub fn strides(self, slice: &'a [i64]) -> Self
pub fn usage(self, value: TensorUsageFlagsARM) -> Self
Sourcepub fn push_next<T: ExtendsTensorDescriptionARM>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsTensorDescriptionARM>(self, next: &'a mut T) -> Self
Prepend a struct to the pNext chain. See TensorDescriptionARM’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for TensorDescriptionARMBuilder<'a>
impl<'a> Deref for TensorDescriptionARMBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for TensorDescriptionARMBuilder<'a>
impl<'a> RefUnwindSafe for TensorDescriptionARMBuilder<'a>
impl<'a> !Send for TensorDescriptionARMBuilder<'a>
impl<'a> !Sync for TensorDescriptionARMBuilder<'a>
impl<'a> Unpin for TensorDescriptionARMBuilder<'a>
impl<'a> UnsafeUnpin for TensorDescriptionARMBuilder<'a>
impl<'a> UnwindSafe for TensorDescriptionARMBuilder<'a>
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