pub trait FociSTMGenerator<const N: usize> {
type T: FociSTMIteratorGenerator<N>;
// Required methods
fn init(self) -> Result<Self::T, AUTDDriverError>;
fn len(&self) -> usize;
}
Expand description
A trait to generate the FociSTMIteratorGenerator
.
Required Associated Types§
Sourcetype T: FociSTMIteratorGenerator<N>
type T: FociSTMIteratorGenerator<N>
The type of the iterator generator.
Required Methods§
Sourcefn init(self) -> Result<Self::T, AUTDDriverError>
fn init(self) -> Result<Self::T, AUTDDriverError>
Initializes and returns the iterator generator.