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

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> Drop for AudioDeviceLockGuard<'a, CB>[src]

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

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

type Target = CB

The resulting type after dereferencing.

Auto Trait Implementations

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

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

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]