pub struct AllocStorage<A: Allocator> { /* private fields */ }
Expand description

A storage that stores objects via an Allocator.

Implementations

Trait Implementations

Resolve memory handles in this storage to mutable references. Read more

Resolve a memory handle in this storage to a mutable reference. Read more

The handle which is used to access the stored memory. Read more

Allocate memory handle in this storage. Read more

Deallocate an object handle in this storage. Read more

Resolve a memory handle in this storage to a reference. Read more

Resolve a memory handle in this storage to a mutable reference. Read more

Grow a memory handle to a larger size. Read more

Shrink a memory handle to a smaller size. 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

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.