pub trait BlackBoxAutomaton {
type Output;
// Required methods
fn sigma(&self) -> usize;
fn behavior<I>(&self, input: I) -> Self::Output
where I: IntoIterator<Item = usize>;
}
Required Associated Types§
Required Methods§
fn sigma(&self) -> usize
fn behavior<I>(&self, input: I) -> Self::Outputwhere
I: IntoIterator<Item = usize>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.