Trait basic_dsp::FloatIndexMut

source ·
pub trait FloatIndexMut<Idx>: FloatIndex<Idx> {
    // Required method
    fn data_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 float data.

Required Methods§

source

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

The method for real indexing

Implementors§

source§

impl<S, T, N, D> FloatIndexMut<usize> for DspVec<S, T, N, D>
where S: ToSliceMut<T>, T: RealNumber, N: NumberSpace, D: Domain,

source§

impl<S, T, N, D> FloatIndexMut<Range<usize>> for DspVec<S, T, N, D>
where S: ToSliceMut<T>, T: RealNumber, N: NumberSpace, D: Domain,

source§

impl<S, T, N, D> FloatIndexMut<RangeFrom<usize>> for DspVec<S, T, N, D>
where S: ToSliceMut<T>, T: RealNumber, N: NumberSpace, D: Domain,

source§

impl<S, T, N, D> FloatIndexMut<RangeFull> for DspVec<S, T, N, D>
where S: ToSliceMut<T>, T: RealNumber, N: NumberSpace, D: Domain,

source§

impl<S, T, N, D> FloatIndexMut<RangeTo<usize>> for DspVec<S, T, N, D>
where S: ToSliceMut<T>, T: RealNumber, N: NumberSpace, D: Domain,