Struct sdl2::audio::AudioDeviceLockGuard [] [src]

pub struct AudioDeviceLockGuard<'a, CB> where CB: AudioCallback, CB: 'a { /* fields omitted */ }

Similar to std::sync::MutexGuard, but for use with AudioDevice::lock().

Trait Implementations

impl<'a, CB: AudioCallback> Deref for AudioDeviceLockGuard<'a, CB>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'a, CB: AudioCallback> DerefMut for AudioDeviceLockGuard<'a, CB>
[src]

The method called to mutably dereference a value

impl<'a, CB: AudioCallback> Drop for AudioDeviceLockGuard<'a, CB>
[src]

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