pub struct ArenaStorage<'src, R: LayoutSpec> { /* private fields */ }
Expand description

A fat pointer to an arena-allocated storage block conforming to a LayoutSpec.

Trait Implementations

Extracts a pointer to the beginning of the memory block. Read more

Extracts a mutable pointer to the beginning of the memory block. Read more

Returns the maximum number of items the memory block can hold. 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.