[][src]Trait basic_dsp_vector::FromVector

pub trait FromVector<T> where
    T: RealNumber
{ type Output; fn get(self) -> (Self::Output, usize);
fn to_slice(&self) -> &[T]; }

Retrieves the underlying storage from a vector.

Associated Types

type Output

Type of the underlying storage of a vector.

Loading content...

Required methods

fn get(self) -> (Self::Output, usize)

Gets the underlying storage and the number of elements which contain valid.

fn to_slice(&self) -> &[T]

Gets the underlying slice of a vector.

Loading content...

Implementors

impl<S, T, N, D> FromVector<T> for DspVec<S, T, N, D> where
    S: ToSlice<T>,
    T: RealNumber,
    N: NumberSpace,
    D: Domain
[src]

type Output = S

Loading content...