pub struct Wav {
pub sample_rate: u32,
pub channels: Vec<Vec<f32>>,
}Expand description
A decoded WAV file: one f32 vector per channel, all the same length.
Fields§
§sample_rate: u32§channels: Vec<Vec<f32>>Implementations§
Trait Implementations§
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