[][src]Struct basic_dsp::SingleBuffer

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]

pub fn new() -> SingleBuffer<T>
[src]

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

pub fn with_capacity(len: usize) -> SingleBuffer<T>
[src]

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

Trait Implementations

impl<T> Default for SingleBuffer<T> where
    T: Default + RealNumber
[src]

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

type Borrow = SingleBufferBurrow<'a, T>

The type of the burrow which is returned.

Auto Trait Implementations

impl<T> Send for SingleBuffer<T>

impl<T> Sync for SingleBuffer<T>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T