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

Slice this array view by a given range.

Panics

Panics if the range is outside of bounds of array view.

Returns an iterator through the indexed items of the array.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.