Enum comfy_wgpu::kira::manager::MainPlaybackState
pub enum MainPlaybackState {
Playing,
Pausing,
Paused,
}Expand description
The playback state for all audio.
Variants§
Playing
Audio is playing normally.
Pausing
Audio is fading out and will be paused when the fade-out is finished.
Paused
Audio processing is paused and no sound is being produced.
Trait Implementations§
§impl Clone for MainPlaybackState
impl Clone for MainPlaybackState
§fn clone(&self) -> MainPlaybackState
fn clone(&self) -> MainPlaybackState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for MainPlaybackState
impl Debug for MainPlaybackState
§impl PartialEq<MainPlaybackState> for MainPlaybackState
impl PartialEq<MainPlaybackState> for MainPlaybackState
§fn eq(&self, other: &MainPlaybackState) -> bool
fn eq(&self, other: &MainPlaybackState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MainPlaybackState
impl Eq for MainPlaybackState
impl StructuralEq for MainPlaybackState
impl StructuralPartialEq for MainPlaybackState
Auto Trait Implementations§
impl RefUnwindSafe for MainPlaybackState
impl Send for MainPlaybackState
impl Sync for MainPlaybackState
impl Unpin for MainPlaybackState
impl UnwindSafe for MainPlaybackState
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.