Struct rich_sdl2_rust::audio::AudioDeviceLock
source · pub struct AudioDeviceLock<'device>(/* private fields */);
Expand description
A lock to prevent an audio device from calling the callback spec::AudioCallback
.
Auto Trait Implementations§
impl<'device> !RefUnwindSafe for AudioDeviceLock<'device>
impl<'device> !Send for AudioDeviceLock<'device>
impl<'device> !Sync for AudioDeviceLock<'device>
impl<'device> Unpin for AudioDeviceLock<'device>
impl<'device> !UnwindSafe for AudioDeviceLock<'device>
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