Struct extemp::Transition [] [src]

pub struct Transition {
    // some fields omitted
}

A single allowable transition in a temporal automaton.

A transition goes from one state to another, and can imply actions to be taken when it occurs (e.g., clean up all automata).

Methods

impl Transition
[src]

fn new(cause: Event, result: Action) -> Transition

fn epsilon() -> Transition

Trait Implementations

impl ToDot for Transition
[src]

fn dot(&self) -> String

Produce a GraphViz dot representation

impl PartialEq for Transition
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

impl Hash for Transition
[src]

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

Feeds this value into the state given, updating the hasher as necessary.

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

Feeds a slice of this type into the state provided.

impl Eq for Transition
[src]

impl Debug for Transition
[src]

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

Formats the value using the given formatter.

impl Clone for Transition
[src]

fn clone(&self) -> Transition

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more