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.

[src]

Dereferences the value.

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

[src]

Mutably dereferences the value.

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

[src]

Executes the destructor for this type. Read more