pub struct DirectPoolLayout<T, H>(_);
Expand description

Trait Implementations

Constructs a Layout for a memory block capable of holding the specified number of items. Read more

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.