pub enum AudioPlayerStatus {
Idle,
Playing,
Paused,
AutoPaused,
}Expand description
What a player is doing.
Variants§
Idle
Nothing to play.
Playing
Sending a resource.
Paused
Paused with AudioPlayer::pause.
AutoPaused
Paused because no subscribed session can send (none subscribed, or all muted or
without SPEAK); resumes by itself.
Trait Implementations§
Source§impl Clone for AudioPlayerStatus
impl Clone for AudioPlayerStatus
Source§fn clone(&self) -> AudioPlayerStatus
fn clone(&self) -> AudioPlayerStatus
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 AudioPlayerStatus
Source§impl Debug for AudioPlayerStatus
impl Debug for AudioPlayerStatus
impl Eq for AudioPlayerStatus
Source§impl PartialEq for AudioPlayerStatus
impl PartialEq for AudioPlayerStatus
impl StructuralPartialEq for AudioPlayerStatus
Auto Trait Implementations§
impl Freeze for AudioPlayerStatus
impl RefUnwindSafe for AudioPlayerStatus
impl Send for AudioPlayerStatus
impl Sync for AudioPlayerStatus
impl Unpin for AudioPlayerStatus
impl UnsafeUnpin for AudioPlayerStatus
impl UnwindSafe for AudioPlayerStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CryptoSafe for T
impl<T> CryptoSafe for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more