Struct flatcontainer::impls::slice::ReadSlice
source · pub struct ReadSlice<'a, C: Region, O: OffsetContainer<C::Index> = Vec<<C as Region>::Index>> { /* private fields */ }
Expand description
A helper to read data out of a slice region.
Implementations§
Trait Implementations§
source§impl<'a, C: Region + 'a, O: OffsetContainer<C::Index>> CopyOnto<SliceRegion<C, O>> for ReadSlice<'a, C, O>
impl<'a, C: Region + 'a, O: OffsetContainer<C::Index>> CopyOnto<SliceRegion<C, O>> for ReadSlice<'a, C, O>
source§fn copy_onto(
self,
target: &mut SliceRegion<C, O>
) -> <SliceRegion<C, O> as Region>::Index
fn copy_onto( self, target: &mut SliceRegion<C, O> ) -> <SliceRegion<C, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.
source§impl<'a, C: Region, O: OffsetContainer<C::Index>> IntoIterator for ReadSlice<'a, C, O>
impl<'a, C: Region, O: OffsetContainer<C::Index>> IntoIterator for ReadSlice<'a, C, O>
impl<'a, C: Region, O: OffsetContainer<C::Index>> Copy for ReadSlice<'a, C, O>
Auto Trait Implementations§
impl<'a, C, O> Freeze for ReadSlice<'a, C, O>
impl<'a, C, O> RefUnwindSafe for ReadSlice<'a, C, O>where
O: RefUnwindSafe,
C: RefUnwindSafe,
impl<'a, C, O> Send for ReadSlice<'a, C, O>
impl<'a, C, O> Sync for ReadSlice<'a, C, O>
impl<'a, C, O> Unpin for ReadSlice<'a, C, O>
impl<'a, C, O> UnwindSafe for ReadSlice<'a, C, O>where
O: RefUnwindSafe,
C: 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<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.