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.

Important traits for &'a mut R

Dereferences the value.

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

Important traits for &'a mut R

Mutably dereferences the value.

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

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'a, CB> !Send for AudioDeviceLockGuard<'a, CB>

impl<'a, CB> !Sync for AudioDeviceLockGuard<'a, CB>