Struct sdl2::audio::AudioDeviceLockGuard
source · pub struct AudioDeviceLockGuard<'a, CB>where
CB: AudioCallback + 'a,{ /* private fields */ }
Expand description
Similar to std::sync::MutexGuard
, but for use with AudioDevice::lock()
.
Trait Implementations§
source§impl<'a, CB: AudioCallback> DerefMut for AudioDeviceLockGuard<'a, CB>
impl<'a, CB: AudioCallback> DerefMut for AudioDeviceLockGuard<'a, CB>
source§impl<'a, CB: AudioCallback> Drop for AudioDeviceLockGuard<'a, CB>
impl<'a, CB: AudioCallback> Drop for AudioDeviceLockGuard<'a, CB>
Auto Trait Implementations§
impl<'a, CB> Freeze for AudioDeviceLockGuard<'a, CB>
impl<'a, CB> RefUnwindSafe for AudioDeviceLockGuard<'a, CB>where
CB: RefUnwindSafe,
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more