pub trait State {
type Data: StateData;
type Iter: Iterator<Item = usize>;
// Required methods
fn new() -> Self;
fn etransition<'a>(&'a self) -> &'a Etrans;
fn transition(&self, c: u8) -> Self::Iter;
fn data(&self) -> Self::Data;
}Required Associated Types§
Required Methods§
fn new() -> Self
fn etransition<'a>(&'a self) -> &'a Etrans
fn transition(&self, c: u8) -> Self::Iter
fn data(&self) -> Self::Data
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.