Directive

Trait Directive 

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

The Directive trait is used to define the expected behaviors of all tail-like objects within the system

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,