Struct statechart::CompoundBuilder
[−]
[src]
pub struct CompoundBuilder { /* fields omitted */ }
Builder for Compound
.
Methods
impl CompoundBuilder
[src]
fn id(&mut self, value: StateID) -> &mut Self
[src]
fn label<VALUE: Into<StateLabel>>(&mut self, value: VALUE) -> &mut Self
[src]
fn initial_label(&mut self, value: Option<StateLabel>) -> &mut Self
[src]
fn on_entry(&mut self, value: Vec<Action>) -> &mut Self
[src]
fn on_exit(&mut self, value: Vec<Action>) -> &mut Self
[src]
fn transitions(&mut self, value: Vec<Transition>) -> &mut Self
[src]
fn substates(&mut self, value: Vec<State>) -> &mut Self
[src]
fn build(&self) -> Result<Compound, String>
[src]
Trait Implementations
impl Default for CompoundBuilder
[src]
fn default() -> CompoundBuilder
[src]
Returns the "default value" for a type. Read more
impl Clone for CompoundBuilder
[src]
fn clone(&self) -> CompoundBuilder
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more