Trait basic_dsp_vector::ComplexIndex
source · pub trait ComplexIndex<Idx>where
Idx: Sized,{
type Output: ?Sized;
// Required method
fn datac(&self, index: Idx) -> &Self::Output;
}
Expand description
Like std::ops::Index
but with a different method name so that it can be used to implement an additional range
accessor for complex data.
Note if indexers will return an empty array in case the vector isn’t complex.