Enum extemp::Event [] [src]

pub enum Event {
    Epsilon,
    Named(String),
}

Events that can cause a transition to occur.

Variants

Epsilon
Named

Methods

impl Event

fn named<Str>(name: Str) -> Event where Str: Into<String>

fn name(&self) -> String

Trait Implementations

Derived Implementations

impl Hash for Event

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for Event

fn eq(&self, __arg_0: &Event) -> bool

fn ne(&self, __arg_0: &Event) -> bool

impl Eq for Event

impl Debug for Event

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Event

fn clone(&self) -> Event

1.0.0fn clone_from(&mut self, source: &Self)