Trait Node

Source
pub trait Node {
    // Required methods
    fn id(&self) -> &StateID;
    fn label(&self) -> &StateLabel;
    fn substate(&self, label: &str) -> Option<&State>;
    fn initial(&self) -> Option<&StateLabel>;
    fn parent(&self) -> Option<&StateID>;
    fn on_entry(&self) -> &Vec<Action>;
    fn on_exit(&self) -> &Vec<Action>;
}

Required Methods§

Source

fn id(&self) -> &StateID

Source

fn label(&self) -> &StateLabel

Source

fn substate(&self, label: &str) -> Option<&State>

Source

fn initial(&self) -> Option<&StateLabel>

Source

fn parent(&self) -> Option<&StateID>

Source

fn on_entry(&self) -> &Vec<Action>

Source

fn on_exit(&self) -> &Vec<Action>

Implementors§