Struct scoped_allocator::Allocated [] [src]

pub struct Allocated<'a, T: 'a> {
    // some fields omitted
}

An item allocated by a custom allocator.

Trait Implementations

impl<'a, T> Deref for Allocated<'a, T>
[src]

type Target = T

The resulting type after dereferencing

fn deref<'b>(&'b self) -> &'b T

The method called to dereference a value

impl<'a, T> DerefMut for Allocated<'a, T>
[src]

fn deref_mut<'b>(&'b mut self) -> &'b mut T

The method called to mutably dereference a value

impl<'a, T> Drop for Allocated<'a, T>
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more