pub struct PlayHandle { /* private fields */ }Expand description
Handle returned from Player::play() that allows stopping playback.
Implementations§
Source§impl PlayHandle
impl PlayHandle
Sourcepub fn is_stopped(&self) -> bool
pub fn is_stopped(&self) -> bool
Check if playback has been stopped.
Auto Trait Implementations§
impl Freeze for PlayHandle
impl RefUnwindSafe for PlayHandle
impl Send for PlayHandle
impl Sync for PlayHandle
impl Unpin for PlayHandle
impl UnwindSafe for PlayHandle
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