Struct flatdata::MultiArrayView [−][src]
pub struct MultiArrayView<'a, Ts> where
Ts: VariadicRefFactory, { /* fields omitted */ }
Expand description
A read-only view on a multivector.
For the detailed description of multivector and examples, cf.
MultiVector
.
Implementations
Creates a new MultiArrayView
to the data at the given address.
The returned array view does not own the data.
Number of indexed items in the array.
Note that this is not the total number of overall elements stored in the array. An item may be also empty.
Returns a read-only iterator to the elements of the item at position
index
.
Panics
Panics if index is greater than or equal to MultiArrayView::len()
.
Slice this array view by a given range.
Panics
Panics if the range is outside of bounds of array view.
Trait Implementations
Auto Trait Implementations
impl<'a, Ts> RefUnwindSafe for MultiArrayView<'a, Ts> where
<Ts as VariadicIndex>::Index: RefUnwindSafe,
impl<'a, Ts> Send for MultiArrayView<'a, Ts> where
<Ts as VariadicIndex>::Index: Sync,
impl<'a, Ts> Sync for MultiArrayView<'a, Ts> where
<Ts as VariadicIndex>::Index: Sync,
impl<'a, Ts> Unpin for MultiArrayView<'a, Ts>
impl<'a, Ts> UnwindSafe for MultiArrayView<'a, Ts> where
<Ts as VariadicIndex>::Index: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more