Trait basic_dsp_vector::RededicateForceOps [−][src]
pub trait RededicateForceOps<Other> {
fn rededicate_from_force(origin: Other) -> Self;
fn rededicate_with_runtime_data(
origin: Other,
is_complex: bool,
domain: DataDomain
) -> Self;
}Expand description
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[src]
fn rededicate_from_force(origin: Other) -> Self[src]Make Other a Self without performing any checks.
fn rededicate_with_runtime_data(
origin: Other,
is_complex: bool,
domain: DataDomain
) -> Self[src]
fn rededicate_with_runtime_data(
origin: Other,
is_complex: bool,
domain: DataDomain
) -> Self[src]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 ComplexFreqVec<S, T> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, [src]
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for ComplexFreqVec<S, T> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, [src]impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for ComplexTimeVec<S, T> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, [src]
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for ComplexTimeVec<S, T> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, [src]impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for GenDspVec<S, T> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, [src]
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for GenDspVec<S, T> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, [src]fn rededicate_with_runtime_data(
origin: DspVec<S, T, N, D>,
is_complex: bool,
domain: DataDomain
) -> Self[src]impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for RealFreqVec<S, T> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, [src]
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for RealFreqVec<S, T> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, [src]impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for RealTimeVec<S, T> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, [src]
impl<S, T, N, D> RededicateForceOps<DspVec<S, T, N, D>> for RealTimeVec<S, T> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain, [src]