pub enum AudioPlayState {
Playing,
Paused,
Stopped,
}Expand description
Represents the playback state of an audio clip.
Variants§
Playing
The audio is currently playing.
Paused
The audio is paused and can be resumed.
Stopped
The audio has stopped or finished playing.
Trait Implementations§
Source§impl Clone for AudioPlayState
impl Clone for AudioPlayState
Source§fn clone(&self) -> AudioPlayState
fn clone(&self) -> AudioPlayState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AudioPlayState
Source§impl Debug for AudioPlayState
impl Debug for AudioPlayState
Source§impl Default for AudioPlayState
impl Default for AudioPlayState
Source§fn default() -> AudioPlayState
fn default() -> AudioPlayState
Returns the “default value” for a type. Read more
impl Eq for AudioPlayState
Source§impl PartialEq for AudioPlayState
impl PartialEq for AudioPlayState
Source§fn eq(&self, other: &AudioPlayState) -> bool
fn eq(&self, other: &AudioPlayState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AudioPlayState
Auto Trait Implementations§
impl Freeze for AudioPlayState
impl RefUnwindSafe for AudioPlayState
impl Send for AudioPlayState
impl Sync for AudioPlayState
impl Unpin for AudioPlayState
impl UnsafeUnpin for AudioPlayState
impl UnwindSafe for AudioPlayState
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