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