pub struct Playback { /* private fields */ }Implementations§
Source§impl Playback
impl Playback
pub fn stop(self, ctx: &AudioContext)
pub fn set_volume(&self, ctx: &AudioContext, volume: f32)
Auto Trait Implementations§
impl Freeze for Playback
impl RefUnwindSafe for Playback
impl Send for Playback
impl Sync for Playback
impl Unpin for Playback
impl UnwindSafe for Playback
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