pub trait States {
type Symbol;
fn size() -> usize;
fn pair_idx(cur: usize, next: usize) -> usize;
fn state(input: Self::Symbol) -> usize;
fn symbol(state: usize) -> Self::Symbol;
fn finisher() -> Self::Symbol;
fn pair(state: usize, next: usize) -> (Dibit, Dibit) { ... }
}
Associated Types
Required methods
Get the “constellation point” on the transition from the current state to the next state.