pub enum ProcessingState {
Suspended,
Running,
Closed,
}
Expand description
Describes the state of the audio context on the control thread.
Variants§
Suspended
The audio context is suspended (context time is not proceeding, audio hardware may be powered down/released).
Running
Audio is being processed.
Closed
The audio context has been released, and can no longer be used to process audio.
Trait Implementations§
source§impl Clone for ProcessingState
impl Clone for ProcessingState
source§fn clone(&self) -> ProcessingState
fn clone(&self) -> ProcessingState
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 moresource§impl Debug for ProcessingState
impl Debug for ProcessingState
source§impl PartialEq for ProcessingState
impl PartialEq for ProcessingState
source§fn eq(&self, other: &ProcessingState) -> bool
fn eq(&self, other: &ProcessingState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProcessingState
impl StructuralPartialEq for ProcessingState
Auto Trait Implementations§
impl Freeze for ProcessingState
impl RefUnwindSafe for ProcessingState
impl Send for ProcessingState
impl Sync for ProcessingState
impl Unpin for ProcessingState
impl UnwindSafe for ProcessingState
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