pub struct Bump { /* private fields */ }
Expand description

The strict memory allocator can allocate memory but never release.

Implementations

Safety

start must be a valid address and the memory block must not exceed its intended range.

Trait Implementations

Try to allocate a layout.

Deallocate memory at a location with a laoyut.

Total capacity of allocator.

Memory used by the allocator,

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.