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

type Target = CB

The resulting type after dereferencing.

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

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

Auto Trait Implementations

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

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

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

impl<'a, CB> Unpin for AudioDeviceLockGuard<'a, CB>

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

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.