Struct defrag::SliceMutex [] [src]

pub struct SliceMutex<'a, T> { /* fields omitted */ }

same as Mutex except locks a Slice

Methods

impl<'mutex, T> SliceMutex<'mutex, T>
[src]

Get a usable Slice, locking the underlying memory from being defragmented by the Pool.

See Mutex.lock for more information.

Trait Implementations

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

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