pub struct RawJaggedRef<'a, T, S, X>where
T: 'a,
X: JaggedIndexer,
S: Slices<'a, T>,{ /* private fields */ }Expand description
Raw representation of a reference to a jagged array.
Further, jagged has an indexer which maps a flat-element-index to a two-dimensional index where the first is the index of the array and the second is the position of the element within this array.
Implementations§
Source§impl<'a, T, S, X> RawJaggedRef<'a, T, S, X>where
X: JaggedIndexer,
S: Slices<'a, T>,
impl<'a, T, S, X> RawJaggedRef<'a, T, S, X>where
X: JaggedIndexer,
S: Slices<'a, T>,
Sourcepub fn new(
arrays: S,
indexer: X,
total_len: Option<usize>,
) -> RawJaggedRef<'a, T, S, X>
pub fn new( arrays: S, indexer: X, total_len: Option<usize>, ) -> RawJaggedRef<'a, T, S, X>
Creates a new raw jagged array of references.
Trait Implementations§
Source§impl<'a, T, S, X> Clone for RawJaggedRef<'a, T, S, X>where
X: JaggedIndexer,
S: Slices<'a, T>,
impl<'a, T, S, X> Clone for RawJaggedRef<'a, T, S, X>where
X: JaggedIndexer,
S: Slices<'a, T>,
Source§fn clone(&self) -> RawJaggedRef<'a, T, S, X>
fn clone(&self) -> RawJaggedRef<'a, T, S, X>
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, T, S, X> Default for RawJaggedRef<'a, T, S, X>where
X: JaggedIndexer,
S: Slices<'a, T>,
impl<'a, T, S, X> Default for RawJaggedRef<'a, T, S, X>where
X: JaggedIndexer,
S: Slices<'a, T>,
Source§fn default() -> RawJaggedRef<'a, T, S, X>
fn default() -> RawJaggedRef<'a, T, S, X>
Returns the “default value” for a type. Read more
Source§impl<'a, T, S, X> IntoConcurrentIter for RawJaggedRef<'a, T, S, X>
impl<'a, T, S, X> IntoConcurrentIter for RawJaggedRef<'a, T, S, X>
Source§type IntoIter = ConIterJaggedRef<'a, T, S, X>
type IntoIter = ConIterJaggedRef<'a, T, S, X>
Type of the concurrent iterator that this type can be converted into.
Source§fn into_con_iter(
self,
) -> <RawJaggedRef<'a, T, S, X> as IntoConcurrentIter>::IntoIter
fn into_con_iter( self, ) -> <RawJaggedRef<'a, T, S, X> as IntoConcurrentIter>::IntoIter
Trait to convert a source (collection or generator) into a concurrent iterator; i.e.,
ConcurrentIter,
using its into_con_iter method. Read moreAuto Trait Implementations§
impl<'a, T, S, X> Freeze for RawJaggedRef<'a, T, S, X>
impl<'a, T, S, X> RefUnwindSafe for RawJaggedRef<'a, T, S, X>
impl<'a, T, S, X> Send for RawJaggedRef<'a, T, S, X>
impl<'a, T, S, X> Sync for RawJaggedRef<'a, T, S, X>
impl<'a, T, S, X> Unpin for RawJaggedRef<'a, T, S, X>
impl<'a, T, S, X> UnwindSafe for RawJaggedRef<'a, T, S, X>
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