Enum creek_encode_wav::Format
source · pub enum Format {
Uint8,
Int16,
Int24,
Float32,
Float64,
}
Variants§
Implementations§
source§impl Format
impl Format
pub fn bits_per_sample(&self) -> u16
pub fn bytes_per_sample(&self) -> u16
pub fn format_type(&self) -> FormatType
Trait Implementations§
source§impl PartialEq for Format
impl PartialEq for Format
impl Copy for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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