Enum perplex::machine::Action [−][src]
An action to be taken upon encountering a symbol.
Variants
Shift(StateId)
Shift the symbol and go to the given state.
Reduce(RuleId)
Reduce with the given rule.
Trait Implementations
impl Debug for Action
[src]
impl Debug for Action
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Action
[src]
impl Copy for Action
impl Clone for Action
[src]
impl Clone for Action
fn clone(&self) -> Action
[src]
fn clone(&self) -> Action
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Action
[src]
impl PartialEq for Action
fn eq(&self, other: &Action) -> bool
[src]
fn eq(&self, other: &Action) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Action) -> bool
[src]
fn ne(&self, other: &Action) -> bool
This method tests for !=
.
impl Eq for Action
[src]
impl Eq for Action
impl Hash for Action
[src]
impl Hash for Action