Struct lowdim::Array[][src]

pub struct Array<S, V, T, L = <V as Vector<S>>::DefaultLayout> where
    S: Integer,
    V: Vector<S>,
    L: Layout<S, V>, 
{ /* fields omitted */ }
Expand description

An array indexed by points in a bounding box.

Implementations

Creates a new array with the given bounding box that is filled with copies of a given element.

Creates a new array with the given bounding box that is filled using a function which takes a location as input.

Returns the bounding box of the array.

👎 Deprecated:

Use bbox instead.

Returns the bounding box of the array.

Returns a reference to the element at the index or None if the index is out of bounds.

Returns a reference to the element at the index or None if the index is out of bounds.

Returns an iterator over the elements of the array.

Creates a new array with the given bounds that is filled from a vector of vectors.

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 returned type after indexing.

Performs the indexing (container[index]) operation. Read more

Performs the mutable indexing (container[index]) operation. 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.