Enum bwavfile::CommonFormat
source · pub enum CommonFormat {
IntegerPCM,
IeeeFloatPCM,
Mpeg,
AmbisonicBFormatIntegerPCM,
AmbisonicBFormatIeeeFloatPCM,
UnknownBasic(u16),
UnknownExtended(Uuid),
}
Expand description
Sample format of the Wave file.
Variants§
IntegerPCM
Integer linear PCM
IeeeFloatPCM
IEEE Floating-point Linear PCM
Mpeg
MPEG
AmbisonicBFormatIntegerPCM
Ambisonic B-Format Linear PCM
AmbisonicBFormatIeeeFloatPCM
Ambisonic B-Format Float PCM
UnknownBasic(u16)
An unknown format identified by a basic format tag.
UnknownExtended(Uuid)
An unknown format identified by an extension UUID.
Implementations§
source§impl CommonFormat
impl CommonFormat
Trait Implementations§
source§impl Clone for CommonFormat
impl Clone for CommonFormat
source§fn clone(&self) -> CommonFormat
fn clone(&self) -> CommonFormat
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 CommonFormat
impl Debug for CommonFormat
source§impl PartialEq<CommonFormat> for CommonFormat
impl PartialEq<CommonFormat> for CommonFormat
source§fn eq(&self, other: &CommonFormat) -> bool
fn eq(&self, other: &CommonFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CommonFormat
impl StructuralPartialEq for CommonFormat
Auto Trait Implementations§
impl RefUnwindSafe for CommonFormat
impl Send for CommonFormat
impl Sync for CommonFormat
impl Unpin for CommonFormat
impl UnwindSafe for CommonFormat
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