Module array

Source
Expand description

A module containing Array and associtated types.

Currently, the only other included type is IntoIter for owned iteration over an Array. IterMut and Iter from std::slice are used for borrowed iteration.

Array is also re-exported under the parent module.

Structs§

Array
An implementation of an array that has an fixed size at runtime. Similar to a Box<[T]> and not intended as an equivalent to Rust’s primitive [T; N] type, which is sized at compile time.
IntoIter
A type for owned iteration over an Array or Vector. Produces values of type T.