pub struct ArrayChunk<T, D>{
pub data: Array<T, D>,
pub global_index: Vec<usize>,
pub nodeid: usize,
}Expand description
A chunk of a distributed array
Fields§
§data: Array<T, D>The data in this chunk
global_index: Vec<usize>The global index of this chunk
nodeid: usizeThe node ID that holds this chunk
Trait Implementations§
Source§impl<T, D> Clone for ArrayChunk<T, D>
impl<T, D> Clone for ArrayChunk<T, D>
Source§fn clone(&self) -> ArrayChunk<T, D>
fn clone(&self) -> ArrayChunk<T, D>
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 moreAuto Trait Implementations§
impl<T, D> Freeze for ArrayChunk<T, D>where
D: Freeze,
impl<T, D> RefUnwindSafe for ArrayChunk<T, D>where
D: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, D> Send for ArrayChunk<T, D>where
T: Send,
impl<T, D> Sync for ArrayChunk<T, D>where
T: Sync,
impl<T, D> Unpin for ArrayChunk<T, D>where
D: Unpin,
impl<T, D> UnwindSafe for ArrayChunk<T, D>where
D: UnwindSafe,
T: RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more