Trait basic_dsp_vector::ComplexIndexMut [−][src]
pub trait ComplexIndexMut<Idx>: ComplexIndex<Idx> where
Idx: Sized, { fn complex_mut(&mut self, index: Idx) -> &mut Self::Output; }
Like std::ops::IndexMut
but with a different method name so that it can be used to implement a additional range
accessor for complex data.
Note if indexers will return an empty array in case the vector isn't complex.
Required Methods
fn complex_mut(&mut self, index: Idx) -> &mut Self::Output
The method for complex indexing
Implementors
impl<S, T, N, D> ComplexIndexMut<usize> for DspVec<S, T, N, D> where
S: ToSliceMut<T>,
T: RealNumber,
N: ComplexNumberSpace,
D: Domain,impl<S, T, N, D> ComplexIndexMut<RangeFull> for DspVec<S, T, N, D> where
S: ToSliceMut<T>,
T: RealNumber,
N: ComplexNumberSpace,
D: Domain,impl<S, T, N, D> ComplexIndexMut<RangeFrom<usize>> for DspVec<S, T, N, D> where
S: ToSliceMut<T>,
T: RealNumber,
N: ComplexNumberSpace,
D: Domain,impl<S, T, N, D> ComplexIndexMut<RangeTo<usize>> for DspVec<S, T, N, D> where
S: ToSliceMut<T>,
T: RealNumber,
N: ComplexNumberSpace,
D: Domain,impl<S, T, N, D> ComplexIndexMut<Range<usize>> for DspVec<S, T, N, D> where
S: ToSliceMut<T>,
T: RealNumber,
N: ComplexNumberSpace,
D: Domain,