pub struct MoveGeometry {
pub count: u32,
pub dims: [u32; 6],
pub in_strides: [u32; 6],
pub in_offset: u32,
pub out_strides: [u32; 6],
pub out_offset: u32,
}Expand description
Iteration space of a strided copy: dims (leading ones to MAX_RANK), element strides and
element offsets on each side. Strides are wrapping u32 so a reversed axis is -inner.
Fields§
§count: u32§dims: [u32; 6]§in_strides: [u32; 6]§in_offset: u32§out_strides: [u32; 6]§out_offset: u32Trait Implementations§
Source§impl Clone for MoveGeometry
impl Clone for MoveGeometry
Source§fn clone(&self) -> MoveGeometry
fn clone(&self) -> MoveGeometry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MoveGeometry
Source§impl Debug for MoveGeometry
impl Debug for MoveGeometry
impl Eq for MoveGeometry
Source§impl PartialEq for MoveGeometry
impl PartialEq for MoveGeometry
Source§fn eq(&self, other: &MoveGeometry) -> bool
fn eq(&self, other: &MoveGeometry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MoveGeometry
Auto Trait Implementations§
impl Freeze for MoveGeometry
impl RefUnwindSafe for MoveGeometry
impl Send for MoveGeometry
impl Sync for MoveGeometry
impl Unpin for MoveGeometry
impl UnsafeUnpin for MoveGeometry
impl UnwindSafe for MoveGeometry
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