Trait basic_dsp::ComplexIndexMut

source ·
pub trait ComplexIndexMut<Idx>: ComplexIndex<Idx> {
    // Required method
    fn datac_mut(&mut self, index: Idx) -> &mut Self::Output;
}
Expand description

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§

source

fn datac_mut(&mut self, index: Idx) -> &mut Self::Output

The method for complex indexing

Implementors§

source§

impl<S, T, N, D> ComplexIndexMut<usize> for DspVec<S, T, N, D>

source§

impl<S, T, N, D> ComplexIndexMut<Range<usize>> for DspVec<S, T, N, D>

source§

impl<S, T, N, D> ComplexIndexMut<RangeFrom<usize>> for DspVec<S, T, N, D>

source§

impl<S, T, N, D> ComplexIndexMut<RangeFull> for DspVec<S, T, N, D>

source§

impl<S, T, N, D> ComplexIndexMut<RangeTo<usize>> for DspVec<S, T, N, D>