Struct slos_helpers::StaticCollection[][src]

pub struct StaticCollection<T: Default> { /* fields omitted */ }
Expand description

A fixed-size collection.

Implementations

Maximum number of entries the collection can hold.

Create a new empty StaticCollection.

Returns the number of elements in the collection.

Appends an element to the tail end of the collection.

Return a slice of the entries within this collection.

Return a mutable slice of the entries within this collection.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The resulting type after dereferencing.

Dereferences the value.

Creates a value from an iterator. 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 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.