Struct veryfast::pool::Object [] [src]

pub struct Object<'active, T: 'active> { /* fields omitted */ }

A pointer type that owns its content.

Created from a Pool. The Object owns the value inside it and has exclusive access to it.

Methods

impl<'active, T> Object<'active, T>
[src]

[src]

Returns the owned object from the pool-allocated memory.

Trait Implementations

impl<'active, T> Drop for Object<'active, T>
[src]

[src]

Executes the destructor for this type. Read more

impl<'active, T> Deref for Object<'active, T>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<'active, T> DerefMut for Object<'active, T>
[src]

[src]

Mutably dereferences the value.

impl<'active, T: Send> Send for Object<'active, T>
[src]

impl<'active, T: Sync> Sync for Object<'active, T>
[src]