pub struct StateMachine {
pub variables: BTreeMap<CompactString, Variable>,
pub states: BTreeMap<CompactString, State>,
pub initial_state: Option<CompactString>,
pub current_state: Option<CompactString>,
}
Fields§
§variables: BTreeMap<CompactString, Variable>
§states: BTreeMap<CompactString, State>
§initial_state: Option<CompactString>
§current_state: Option<CompactString>
Trait Implementations§
Source§impl Debug for StateMachine
impl Debug for StateMachine
Source§impl PartialEq for StateMachine
impl PartialEq for StateMachine
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