pub enum ProcessingMode {
Realtime,
Prefetch,
Offline,
}
Expand description
The mode that the processor will run in.
Variants§
Realtime
The component is processing audio in realtime.
Prefetch
The component may not be running in realtime, but should use the same quality settings as Realtime
.
Offline
The component is processing audio in offline mode.
Trait Implementations§
Source§impl Clone for ProcessingMode
impl Clone for ProcessingMode
Source§fn clone(&self) -> ProcessingMode
fn clone(&self) -> ProcessingMode
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 ProcessingMode
impl Debug for ProcessingMode
Source§impl PartialEq for ProcessingMode
impl PartialEq for ProcessingMode
impl Copy for ProcessingMode
impl Eq for ProcessingMode
impl StructuralPartialEq for ProcessingMode
Auto Trait Implementations§
impl Freeze for ProcessingMode
impl RefUnwindSafe for ProcessingMode
impl Send for ProcessingMode
impl Sync for ProcessingMode
impl Unpin for ProcessingMode
impl UnwindSafe for ProcessingMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more