#[repr(C)]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,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§dimension_count: u32§p_src_offset: *const u64§p_dst_offset: *const u64§p_extent: *const u64§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> TensorCopyARM<'a>
impl<'a> TensorCopyARM<'a>
pub fn src_offset(self, src_offset: &'a [u64]) -> Self
pub fn dst_offset(self, dst_offset: &'a [u64]) -> Self
pub fn extent(self, extent: &'a [u64]) -> Self
Trait Implementations§
Source§impl<'a> Clone for TensorCopyARM<'a>
impl<'a> Clone for TensorCopyARM<'a>
Source§fn clone(&self) -> TensorCopyARM<'a>
fn clone(&self) -> TensorCopyARM<'a>
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<'a> Debug for TensorCopyARM<'a>
impl<'a> Debug for TensorCopyARM<'a>
Source§impl Default for TensorCopyARM<'_>
impl Default for TensorCopyARM<'_>
Source§impl<'a> TaggedStructure for TensorCopyARM<'a>
impl<'a> TaggedStructure for TensorCopyARM<'a>
const STRUCTURE_TYPE: StructureType = StructureType::TENSOR_COPY_ARM
impl<'a> Copy for TensorCopyARM<'a>
impl Send for TensorCopyARM<'_>
impl Sync for TensorCopyARM<'_>
Auto Trait Implementations§
impl<'a> Freeze for TensorCopyARM<'a>
impl<'a> RefUnwindSafe for TensorCopyARM<'a>
impl<'a> Unpin for TensorCopyARM<'a>
impl<'a> UnwindSafe for TensorCopyARM<'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