pub struct Feeder { /* private fields */ }Expand description
The end of a feed a worker writes.
Implementations§
Source§impl Feeder
impl Feeder
Sourcepub fn write(&mut self, samples: &[i16]) -> usize
pub fn write(&mut self, samples: &[i16]) -> usize
Writes as many whole frames of samples as there is room for, interleaved,
and says how many that was.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Feeder
impl RefUnwindSafe for Feeder
impl Send for Feeder
impl Sync for Feeder
impl Unpin for Feeder
impl UnsafeUnpin for Feeder
impl UnwindSafe for Feeder
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