Trait basic_dsp_vector::FromVector
[−]
[src]
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.
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.
Implementors
impl<S, T, N, D> FromVector<T> for DspVec<S, T, N, D> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, type Output = S;