[][src]Struct basic_dsp::SingleBuffer

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

A buffer which stores a single vector and never shrinks.

Implementations

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<'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.

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

Auto Trait Implementations

impl<T> RefUnwindSafe for SingleBuffer<T> where
    T: RefUnwindSafe

impl<T> Send for SingleBuffer<T>

impl<T> Sync for SingleBuffer<T>

impl<T> Unpin for SingleBuffer<T> where
    T: Unpin

impl<T> UnwindSafe for SingleBuffer<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.