[][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.

Implementations

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> RefUnwindSafe for FixedLenBuffer<S, T> where
    S: RefUnwindSafe,
    T: RefUnwindSafe

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

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

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

impl<S, T> UnwindSafe for FixedLenBuffer<S, T> where
    S: UnwindSafe,
    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.