Struct flatdata::MultiArrayView[][src]

pub struct MultiArrayView<'a, Idx: 'a, Ts: 'a> { /* fields omitted */ }

A read-only view on a multivector.

For the detailed description of multivector and examples, cf. MultiVector.

Methods

impl<'a, Idx, Ts> MultiArrayView<'a, Idx, Ts> where
    Idx: Index,
    Ts: VariadicStruct
[src]

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 true if no item is stored in the array.

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().

Returns an iterator through the indexed items of the array.

Trait Implementations

impl<'a, Idx: Clone + 'a, Ts: Clone + 'a> Clone for MultiArrayView<'a, Idx, Ts>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, Idx, Ts> Debug for MultiArrayView<'a, Idx, Ts> where
    Idx: Index,
    Ts: VariadicStruct
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, Idx, Ts> !Send for MultiArrayView<'a, Idx, Ts>

impl<'a, Idx, Ts> !Sync for MultiArrayView<'a, Idx, Ts>