Trait basic_dsp::BufferBorrow

source ·
pub trait BufferBorrow<S, T>: ToSliceMut<T>
where S: ToSliceMut<T>, T: RealNumber,
{ // Required method fn trade(self, storage: &mut S); }
Expand description

A “slice-like” type which also allows to

Required Methods§

source

fn trade(self, storage: &mut S)

Moves the content of this slice into storage. This operation might just copy all contents into storage or

Implementors§

source§

impl<'a, S, T> BufferBorrow<S, T> for FixedLenBufferBurrow<'a, T>
where S: ToSliceMut<T>, T: RealNumber,

source§

impl<'a, S, T> BufferBorrow<S, T> for NoTradeBufferBurrow<'a, T>
where S: ToSliceMut<T>, T: RealNumber,

source§

impl<'a, T> BufferBorrow<Vec<T>, T> for NoBufferBurrow<T>
where T: RealNumber,

source§

impl<'a, T> BufferBorrow<Vec<T>, T> for SingleBufferBurrow<'a, T>
where T: RealNumber,