pub enum FormatKind {
Flac,
Wav,
Pcm,
}Expand description
Supported container formats.
Each variant maps to a concrete decoder implementation.
Variants§
Flac
Free Lossless Audio Codec — lossless compressed container.
Wav
RIFF Waveform — PCM or IEEE-float, uncompressed.
Pcm
Raw headerless PCM — little-endian samples with no container.
Trait Implementations§
Source§impl Clone for FormatKind
impl Clone for FormatKind
Source§fn clone(&self) -> FormatKind
fn clone(&self) -> FormatKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FormatKind
Source§impl Debug for FormatKind
impl Debug for FormatKind
impl Eq for FormatKind
Source§impl Hash for FormatKind
impl Hash for FormatKind
Source§impl PartialEq for FormatKind
impl PartialEq for FormatKind
impl StructuralPartialEq for FormatKind
Auto Trait Implementations§
impl Freeze for FormatKind
impl RefUnwindSafe for FormatKind
impl Send for FormatKind
impl Sync for FormatKind
impl Unpin for FormatKind
impl UnsafeUnpin for FormatKind
impl UnwindSafe for FormatKind
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