pub trait SigSampleIntoBufT {
type Item: Clone;
// Required methods
fn sample_into_buf(&mut self, ctx: &SigCtx, buf: &mut Vec<Self::Item>);
fn sample_into_slice(
&mut self,
ctx: &SigCtx,
stride: usize,
offset: usize,
out: &mut [Self::Item],
);
}Expand description
Similar to SigT but less flexible as it needs to populate a Vec. However this trait is
possible to be boxed allowing for type erasure.