Finite state machines in rust; bendns fork to add types.
-rw-r--r--rust-fsm/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust-fsm/src/lib.rs b/rust-fsm/src/lib.rs
index 84c82cc..34b59cf 100644
--- a/rust-fsm/src/lib.rs
+++ b/rust-fsm/src/lib.rs
@@ -159,6 +159,7 @@ pub trait StateMachineImpl {
/// A convenience wrapper around the `StateMachine` trait that encapsulates the
/// state and transition and output function calls.
+#[derive(Debug, Clone)]
pub struct StateMachine<T: StateMachineImpl> {
state: T::State,
}