pub enum Playing<S: Sdk> {
Nothing,
Sample {
slot: usize,
serial: u32,
},
File {
player: S::FilePlayer,
looped: bool,
paused: Cell<bool>,
},
}Expand description
One playback.
Variants§
Nothing
Nothing plays: the SDK has no sample player to give.
Sample
A sample player, on playback serial.
File
A file player.
Trait Implementations§
Auto Trait Implementations§
impl<S> !Freeze for Playing<S>
impl<S> !RefUnwindSafe for Playing<S>
impl<S> !Sync for Playing<S>
impl<S> Send for Playing<S>
impl<S> Unpin for Playing<S>
impl<S> UnsafeUnpin for Playing<S>
impl<S> UnwindSafe for Playing<S>
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