pub enum AudioOutputState {
Stopped,
Running,
Paused,
}Expand description
Lifecycle state of an AudioOutputBackend instance.
Variants§
Stopped
Output backend is initialized but stopped.
Running
Output backend is actively mixing or streaming audio frames.
Paused
Output backend is paused without dropping active voices.
Trait Implementations§
Source§impl Clone for AudioOutputState
impl Clone for AudioOutputState
impl Copy for AudioOutputState
Source§impl Debug for AudioOutputState
impl Debug for AudioOutputState
Source§impl Default for AudioOutputState
impl Default for AudioOutputState
impl Eq for AudioOutputState
Source§impl Hash for AudioOutputState
impl Hash for AudioOutputState
Source§impl Ord for AudioOutputState
impl Ord for AudioOutputState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AudioOutputState
impl PartialEq for AudioOutputState
Source§impl PartialOrd for AudioOutputState
impl PartialOrd for AudioOutputState
impl StructuralPartialEq for AudioOutputState
Auto Trait Implementations§
impl Forget for AudioOutputState
impl Freeze for AudioOutputState
impl Move for AudioOutputState
impl RefUnwindSafe for AudioOutputState
impl Send for AudioOutputState
impl Sync for AudioOutputState
impl Unpin for AudioOutputState
impl UnsafeUnpin for AudioOutputState
impl UnwindSafe for AudioOutputState
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