pub struct Wav {
pub sample_rate: u32,
pub samples: Vec<i16>,
}Expand description
16-bit mono PCM at a given sample rate.
Fields§
§sample_rate: u32Samples per second.
samples: Vec<i16>The samples.
Implementations§
Trait Implementations§
impl Eq for Wav
impl StructuralPartialEq for Wav
Auto Trait Implementations§
impl Freeze for Wav
impl RefUnwindSafe for Wav
impl Send for Wav
impl Sync for Wav
impl Unpin for Wav
impl UnsafeUnpin for Wav
impl UnwindSafe for Wav
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