Struct hazard::BoxMemory[][src]

pub struct BoxMemory;

An allocator that uses Box to allocate and deallocate memory.

Trait Implementations

impl Copy for BoxMemory

impl Clone for BoxMemory

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BoxMemory

Formats the value using the given formatter. Read more

impl Memory for BoxMemory

Allocates memory.

Deallocates the memory associated with the supplied pointer.

Auto Trait Implementations

impl Send for BoxMemory

impl Sync for BoxMemory