[−][src]Trait basic_dsp::RededicateForceOps
This trait allows to change a data type and performs the Conversion
without any checks. RededicateOps
provides the same functionality
but performs runtime checks to avoid that data is interpreted the wrong
way.
In almost all cases this trait shouldn't be used directly.
Required methods
fn rededicate_from_force(origin: Other) -> Self
Make Other
a Self
without performing any checks.
fn rededicate_with_runtime_data(
origin: Other,
is_complex: bool,
domain: DataDomain
) -> Self
origin: Other,
is_complex: bool,
domain: DataDomain
) -> Self
Make Other
a Self
without performing any checks.
Try to set the domain and number space. There is no guarantee that this will succeed, since some rededication targets only support one domain and number space value. Failures will be silenty ignored (which is by design).
Implementors
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for DspVec<S, T, Complex, Freq> where
D: Domain,
N: NumberSpace,
S: ToSlice<T>,
T: RealNumber,
[src]
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for DspVec<S, T, Complex, Freq> where
D: Domain,
N: NumberSpace,
S: ToSlice<T>,
T: RealNumber,
fn rededicate_from_force( | [src] |
fn rededicate_with_runtime_data( | [src] |
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for DspVec<S, T, Complex, Time> where
D: Domain,
N: NumberSpace,
S: ToSlice<T>,
T: RealNumber,
[src]
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for DspVec<S, T, Complex, Time> where
D: Domain,
N: NumberSpace,
S: ToSlice<T>,
T: RealNumber,
fn rededicate_from_force( | [src] |
fn rededicate_with_runtime_data( | [src] |
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for DspVec<S, T, Real, Freq> where
D: Domain,
N: NumberSpace,
S: ToSlice<T>,
T: RealNumber,
[src]
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for DspVec<S, T, Real, Freq> where
D: Domain,
N: NumberSpace,
S: ToSlice<T>,
T: RealNumber,
fn rededicate_from_force(origin: DspVec<S, T, N, D>) -> DspVec<S, T, Real, Freq> | [src] |
fn rededicate_with_runtime_data( | [src] |
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for DspVec<S, T, Real, Time> where
D: Domain,
N: NumberSpace,
S: ToSlice<T>,
T: RealNumber,
[src]
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for DspVec<S, T, Real, Time> where
D: Domain,
N: NumberSpace,
S: ToSlice<T>,
T: RealNumber,
fn rededicate_from_force(origin: DspVec<S, T, N, D>) -> DspVec<S, T, Real, Time> | [src] |
fn rededicate_with_runtime_data( | [src] |
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for DspVec<S, T, RealOrComplex, TimeOrFreq> where
D: Domain,
N: NumberSpace,
S: ToSlice<T>,
T: RealNumber,
[src]
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for DspVec<S, T, RealOrComplex, TimeOrFreq> where
D: Domain,
N: NumberSpace,
S: ToSlice<T>,
T: RealNumber,
fn rededicate_from_force( | [src] |
fn rededicate_with_runtime_data( | [src] |
impl<V, O, S, T> RededicateForceOps<Matrix2xN<O, S, T>> for Matrix2xN<V, S, T> where
O: Vector<T>,
S: ToSlice<T>,
T: RealNumber + RealNumber,
V: RededicateForceOps<O> + Vector<T>,
[src]
impl<V, O, S, T> RededicateForceOps<Matrix2xN<O, S, T>> for Matrix2xN<V, S, T> where
O: Vector<T>,
S: ToSlice<T>,
T: RealNumber + RealNumber,
V: RededicateForceOps<O> + Vector<T>,
fn rededicate_from_force(origin: Matrix2xN<O, S, T>) -> Matrix2xN<V, S, T> | [src] |
fn rededicate_with_runtime_data( | [src] |
impl<V, O, S, T> RededicateForceOps<Matrix3xN<O, S, T>> for Matrix3xN<V, S, T> where
O: Vector<T>,
S: ToSlice<T>,
T: RealNumber + RealNumber,
V: RededicateForceOps<O> + Vector<T>,
[src]
impl<V, O, S, T> RededicateForceOps<Matrix3xN<O, S, T>> for Matrix3xN<V, S, T> where
O: Vector<T>,
S: ToSlice<T>,
T: RealNumber + RealNumber,
V: RededicateForceOps<O> + Vector<T>,
fn rededicate_from_force(origin: Matrix3xN<O, S, T>) -> Matrix3xN<V, S, T> | [src] |
fn rededicate_with_runtime_data( | [src] |
impl<V, O, S, T> RededicateForceOps<Matrix4xN<O, S, T>> for Matrix4xN<V, S, T> where
O: Vector<T>,
S: ToSlice<T>,
T: RealNumber + RealNumber,
V: RededicateForceOps<O> + Vector<T>,
[src]
impl<V, O, S, T> RededicateForceOps<Matrix4xN<O, S, T>> for Matrix4xN<V, S, T> where
O: Vector<T>,
S: ToSlice<T>,
T: RealNumber + RealNumber,
V: RededicateForceOps<O> + Vector<T>,
fn rededicate_from_force(origin: Matrix4xN<O, S, T>) -> Matrix4xN<V, S, T> | [src] |
fn rededicate_with_runtime_data( | [src] |
impl<V, O, S, T> RededicateForceOps<MatrixMxN<O, S, T>> for MatrixMxN<V, S, T> where
O: Vector<T>,
S: ToSlice<T>,
T: RealNumber + RealNumber,
V: RededicateForceOps<O> + Vector<T>,
[src]
impl<V, O, S, T> RededicateForceOps<MatrixMxN<O, S, T>> for MatrixMxN<V, S, T> where
O: Vector<T>,
S: ToSlice<T>,
T: RealNumber + RealNumber,
V: RededicateForceOps<O> + Vector<T>,
fn rededicate_from_force(origin: MatrixMxN<O, S, T>) -> MatrixMxN<V, S, T> | [src] |
fn rededicate_with_runtime_data( | [src] |