Struct basic_dsp_vector::NoBuffer
[−]
[src]
pub struct NoBuffer;
This type can be used everytime the API asks for a buffer to disable any buffering.
Trait Implementations
impl<'a, T> Buffer<'a, Vec<T>, T> for NoBuffer where
T: RealNumber,
[src]
T: RealNumber,
type Borrow = NoBufferBurrow<T>
The type of the burrow which is returned.
fn borrow(&mut self, len: usize) -> Self::Borrow
Asks the buffer for new storage of exactly size len
. The returned array doesn't need to have be initialized with any default value. Read more
fn alloc_len(&self) -> usize
Returns the allocated length of all storage within this buffer.