Struct aren_alloc::Pointer [] [src]

pub struct Pointer<'a, T: ?Sized> { /* fields omitted */ }

A pointer to T, when dropped, the underlying memory would be recycled by the allocator.

Methods

impl<'a, T: ?Sized> Pointer<'a, T>
[src]

[src]

Borrow ptr as a reference. This is an associated function so that T's methods won't be shadowed.

[src]

Borrow ptr as a mutable reference. This is an associated function so that T's methods won't be shadowed.

Trait Implementations

impl<'a, T: ?Sized, U: ?Sized> CoerceUnsized<Pointer<'a, T>> for Pointer<'a, U> where
    U: Unsize<T>,
    T: , 
[src]

impl<'a, T: ?Sized> Deref for Pointer<'a, T>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<'a, T: ?Sized> DerefMut for Pointer<'a, T>
[src]

[src]

Mutably dereferences the value.

impl<'a, T: ?Sized> Drop for Pointer<'a, T>
[src]

[src]

Executes the destructor for this type. Read more