[−][src]Trait basic_dsp::RededicateToOps
This trait allows to change a data type. The operations will
convert a type to a different one and set self.len()
to zero.
However self.allocated_len()
will remain unchanged. The use case for this
is to allow to reuse the memory of a vector for different operations.
Required methods
fn rededicate(self) -> Other
Converts Self
inot Other
.
Implementors
impl<S, T, N, D, O> RededicateToOps<O> for DspVec<S, T, N, D> where
D: Domain,
N: NumberSpace,
O: Vector<T> + RededicateOps<DspVec<S, T, N, D>>,
S: ToSlice<T>,
T: RealNumber,
[src]
impl<S, T, N, D, O> RededicateToOps<O> for DspVec<S, T, N, D> where
D: Domain,
N: NumberSpace,
O: Vector<T> + RededicateOps<DspVec<S, T, N, D>>,
S: ToSlice<T>,
T: RealNumber,
fn rededicate(self) -> O | [src] |