Struct hazard::BoxMemory[][src]

pub struct BoxMemory;

An allocator that uses Box to allocate and deallocate memory.

Trait Implementations

impl Copy for BoxMemory
[src]

impl Clone for BoxMemory
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BoxMemory
[src]

Formats the value using the given formatter. Read more

impl Memory for BoxMemory
[src]

Allocates memory.

Deallocates the memory associated with the supplied pointer.

Auto Trait Implementations

impl Send for BoxMemory

impl Sync for BoxMemory