Struct defrag::Value [] [src]

pub struct Value<'a, 'mutex: 'a, T: 'mutex> { /* fields omitted */ }

A value which can be used through Deref

When this is dropped, the memory it is referencing is automatically unlocked, which allows it to be defragmented. This object should be dropped as soon as possible to allow for defragmentation to take place.

Trait Implementations

impl<'a, 'mutex: 'a, T: 'mutex> Drop for Value<'a, 'mutex, T>
[src]

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

impl<'a, 'mutex: 'a, T: 'mutex> Deref for Value<'a, 'mutex, T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'a, 'mutex: 'a, T: 'mutex> DerefMut for Value<'a, 'mutex, T>
[src]

The method called to mutably dereference a value