[][src]Struct basic_dsp_vector::FixedLenBuffer

pub struct FixedLenBuffer<S, T> where
    S: ToSliceMut<T>,
    T: RealNumber
{ /* fields omitted */ }

A buffer which gets initalized with a data storage type and then always keeps that.

Methods

impl<S, T> FixedLenBuffer<S, T> where
    S: ToSliceMut<T>,
    T: RealNumber
[src]

pub fn new(storage: S) -> FixedLenBuffer<S, T>
[src]

Creates a new buffer from a storage type. The buffer will internally hold its storage for it's complete life time.

Trait Implementations

impl<'a, S, T> Buffer<'a, S, T> for FixedLenBuffer<S, T> where
    S: ToSliceMut<T>,
    T: RealNumber + 'a, 
[src]

type Borrow = FixedLenBufferBurrow<'a, T>

The type of the burrow which is returned.

Auto Trait Implementations

impl<S, T> Send for FixedLenBuffer<S, T> where
    S: Send

impl<S, T> Sync for FixedLenBuffer<S, T> where
    S: Sync

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> BorrowMut 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T