pub enum AudioScheduledSourceNodeMessage {
Start(f64),
Stop(f64),
RegisterOnEndedCallback(OnEndedCallback),
}
Expand description
Type of message directed to AudioScheduledSourceNodes.
Variants§
Start(f64)
Schedules a sound to playback at an exact time.
Stop(f64)
Schedules a sound to stop playback at an exact time.
RegisterOnEndedCallback(OnEndedCallback)
Register onended event callback.
Auto Trait Implementations§
impl Freeze for AudioScheduledSourceNodeMessage
impl !RefUnwindSafe for AudioScheduledSourceNodeMessage
impl Send for AudioScheduledSourceNodeMessage
impl !Sync for AudioScheduledSourceNodeMessage
impl Unpin for AudioScheduledSourceNodeMessage
impl !UnwindSafe for AudioScheduledSourceNodeMessage
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