Trait plasma::PhaseAmpsSelect
source · pub trait PhaseAmpsSelect<'a> {
type Item: PhaseAmpAccess + ?Sized + 'a;
type IterOne: Iterator<Item = &'a Self::Item> + ExactSizeIterator;
type IterPair: Iterator<Item = (&'a Self::Item, &'a Self::Item)> + ExactSizeIterator;
type IterTriple: Iterator<Item = (&'a Self::Item, &'a Self::Item, &'a Self::Item)> + ExactSizeIterator;
type IterQuad: Iterator<Item = (&'a Self::Item, &'a Self::Item, &'a Self::Item, &'a Self::Item)> + ExactSizeIterator;
// Required methods
fn select(&self, range: Range<usize>) -> &Self;
fn iter_phase_amps(&'a self) -> Self::IterOne;
fn iter_pa_pairs(&'a self) -> Self::IterPair;
fn iter_pa_triples(&'a self) -> Self::IterTriple;
fn iter_pa_quads(&'a self) -> Self::IterQuad;
}
Expand description
A trait that allows selecting a subset of phase’n’amplitude and iterate over pairs of it.
Required Associated Types§
type Item: PhaseAmpAccess + ?Sized + 'a
type IterOne: Iterator<Item = &'a Self::Item> + ExactSizeIterator
type IterPair: Iterator<Item = (&'a Self::Item, &'a Self::Item)> + ExactSizeIterator
type IterTriple: Iterator<Item = (&'a Self::Item, &'a Self::Item, &'a Self::Item)> + ExactSizeIterator
type IterQuad: Iterator<Item = (&'a Self::Item, &'a Self::Item, &'a Self::Item, &'a Self::Item)> + ExactSizeIterator
Required Methods§
fn iter_phase_amps(&'a self) -> Self::IterOne
fn iter_pa_pairs(&'a self) -> Self::IterPair
fn iter_pa_triples(&'a self) -> Self::IterTriple
fn iter_pa_quads(&'a self) -> Self::IterQuad
Object Safety§
This trait is not object safe.