Struct netsblox_stateflow::StateMachine
source · pub struct StateMachine {
pub variables: BTreeSet<CompactString>,
pub states: BTreeMap<CompactString, State>,
pub initial_state: Option<CompactString>,
}Fields§
§variables: BTreeSet<CompactString>§states: BTreeMap<CompactString, State>§initial_state: Option<CompactString>Implementations§
source§impl StateMachine
impl StateMachine
pub fn to_graphviz(&self, name: &str) -> Subgraph
Trait Implementations§
source§impl Debug for StateMachine
impl Debug for StateMachine
source§impl PartialEq for StateMachine
impl PartialEq for StateMachine
source§fn eq(&self, other: &StateMachine) -> bool
fn eq(&self, other: &StateMachine) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for StateMachine
impl StructuralPartialEq for StateMachine
Auto Trait Implementations§
impl Freeze for StateMachine
impl RefUnwindSafe for StateMachine
impl Send for StateMachine
impl Sync for StateMachine
impl Unpin for StateMachine
impl UnwindSafe for StateMachine
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more