pub struct BigList<T: Copy> { /* private fields */ }
Expand description

Represents a list of items that is efficient in storage and addition. Items cannot be neither be removed nor inserted.

Implementations§

Implementation of BigList

Creates a (empty) list

Adds a value at the end of the list

Trait Implementations§

Implementation of the indexer operator for immutable BigList

The returned type after indexing.
Performs the indexing (container[index]) operation. Read more

Implementation of the indexer [] operator for mutable BigList

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

Implementation of Iterable for BigList

The type of the elements being iterated over.
The type of the iterator.
Creates an iterator over this Iterable structure.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.