pub struct Samples {
samples: IntoIter<f32>,
sample_rate: u32,
channels: u16,
chunk: usize,
}Expand description
Samples already in memory, the shape a file or a test uses.
Fields§
§samples: IntoIter<f32>§sample_rate: u32§channels: u16§chunk: usizeImplementations§
Trait Implementations§
Source§impl AudioSource for Samples
impl AudioSource for Samples
Auto Trait Implementations§
impl Freeze for Samples
impl RefUnwindSafe for Samples
impl Send for Samples
impl Sync for Samples
impl Unpin for Samples
impl UnsafeUnpin for Samples
impl UnwindSafe for Samples
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