Struct wasapi::AudioSessionControl
source · pub struct AudioSessionControl { /* private fields */ }
Expand description
Struct wrapping an IAudioSessionControl.
Implementations§
source§impl AudioSessionControl
impl AudioSessionControl
sourcepub fn register_session_notification(
&self,
callbacks: Weak<EventCallbacks>
) -> Result<(), Box<dyn Error>>
pub fn register_session_notification( &self, callbacks: Weak<EventCallbacks> ) -> Result<(), Box<dyn Error>>
Register to receive notifications
Auto Trait Implementations§
impl RefUnwindSafe for AudioSessionControl
impl !Send for AudioSessionControl
impl !Sync for AudioSessionControl
impl Unpin for AudioSessionControl
impl UnwindSafe for AudioSessionControl
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