Trait Directive

Source
pub trait Directive<Q, S> {
    // Required methods
    fn direction(&self) -> Direction;
    fn next_state(&self) -> &State<Q>;
    fn next_symbol(&self) -> &S;
}
Expand description

Directive is a trait describing the tail of a typical Turing machine;

Required Methods§

Source

fn direction(&self) -> Direction

Source

fn next_state(&self) -> &State<Q>

Source

fn next_symbol(&self) -> &S

Implementations on Foreign Types§

Source§

impl<Q, S> Directive<Q, S> for (Direction, State<Q>, S)
where Q: RawState,

Implementors§

Source§

impl<Q, S> Directive<Q, S> for Rule<Q, S>
where Q: RawState,

Source§

impl<Q, S> Directive<Q, S> for Tail<Q, S>
where Q: RawState,