pub trait GainSTMGenerator: Debug {
type T: GainSTMIteratorGenerator;
// Required methods
fn init(
self,
geometry: &Geometry,
filter: Option<&HashMap<usize, BitVec>>,
parallel: bool,
) -> Result<Self::T, GainError>;
fn len(&self) -> usize;
}Expand description
A trait to generate the GainSTMIteratorGenerator.
Required Associated Types§
Sourcetype T: GainSTMIteratorGenerator
type T: GainSTMIteratorGenerator
The type of the iterator generator.