Struct basic_dsp_vector::SingleBuffer [] [src]

pub struct SingleBuffer<T> where T: RealNumber { /* fields omitted */ }

A buffer which stores a single vector and never shrinks.

Methods

impl<T> SingleBuffer<T> where T: RealNumber
[src]

Creates a new buffer which is ready to be passed around.

Creates a new buffer which is ready to be passed around.

Trait Implementations

impl<T> Buffer<Vec<T>, T> for SingleBuffer<T> where T: RealNumber
[src]

Asks the buffer for new storage. len is the minimum size the storage needs to provide. S doesn't need to have be initialized with any default value. Read more

Asks the buffer for newly created storage which isn't buffered. Read more

Returns a storage to the buffer. The buffer isn't required to free it and might just reuse the storage. Read more

Returns the allocated length of all storage within this buffer.