pub struct StateMachineState {
pub id: u32,
pub output: Vec<String>,
}Expand description
A state in an explicit finite state machine.
Fields§
§id: u32Numeric state identifier.
output: Vec<String>Accumulated output collected during transitions.
Implementations§
Trait Implementations§
Source§impl Clone for StateMachineState
impl Clone for StateMachineState
Source§fn clone(&self) -> StateMachineState
fn clone(&self) -> StateMachineState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StateMachineState
impl Debug for StateMachineState
Source§impl Hash for StateMachineState
impl Hash for StateMachineState
Source§impl PartialEq for StateMachineState
impl PartialEq for StateMachineState
impl Eq for StateMachineState
impl StructuralPartialEq for StateMachineState
Auto Trait Implementations§
impl Freeze for StateMachineState
impl RefUnwindSafe for StateMachineState
impl Send for StateMachineState
impl Sync for StateMachineState
impl Unpin for StateMachineState
impl UnsafeUnpin for StateMachineState
impl UnwindSafe for StateMachineState
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