Enum qoaudio::ProcessingMode
source · pub enum ProcessingMode {
FixedSamples {
channels: u8,
sample_rate: u32,
samples: u32,
},
Streaming,
}
Expand description
The decoding mode of the QOA file.
Variants§
FixedSamples
Fields
Total number of samples is known and sample rate and number of channels is fixed for the entire file.
Streaming
Total number of samples is not known and the sample rate and number of channels can change each frame.
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
source§fn eq(&self, other: &ProcessingMode) -> bool
fn eq(&self, other: &ProcessingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProcessingMode
Auto Trait Implementations§
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