pub struct NeighborType<'a, CellDataType> {
pub data: Vec<&'a CellDataType>,
pub dimensions: &'a Vec<usize>,
}
Expand description
NeighborType is the datatype ofr the neighborhood of a cell
Fields
data: Vec<&'a CellDataType>
Data contains the neighborhood
dimensions: &'a Vec<usize>
Dimensions is the dimensions
Implementations
sourceimpl<'a, CellDataType: Clone> NeighborType<'a, CellDataType>
impl<'a, CellDataType: Clone> NeighborType<'a, CellDataType>
Trait Implementations
sourceimpl<'a, CellDataType: Clone> Clone for NeighborType<'a, CellDataType>
impl<'a, CellDataType: Clone> Clone for NeighborType<'a, CellDataType>
sourcefn clone(&self) -> NeighborType<'a, CellDataType>
fn clone(&self) -> NeighborType<'a, CellDataType>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<'a, CellDataType> RefUnwindSafe for NeighborType<'a, CellDataType>where
CellDataType: RefUnwindSafe,
impl<'a, CellDataType> Send for NeighborType<'a, CellDataType>where
CellDataType: Sync,
impl<'a, CellDataType> Sync for NeighborType<'a, CellDataType>where
CellDataType: Sync,
impl<'a, CellDataType> Unpin for NeighborType<'a, CellDataType>
impl<'a, CellDataType> UnwindSafe for NeighborType<'a, CellDataType>where
CellDataType: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more