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]
type Target = CB
The resulting type after dereferencing.
fn deref(&self) -> &CB[src]
Dereferences the value.