Add clone to StateHandle

This commit is contained in:
hodasemi 2024-03-27 16:07:01 +01:00
parent ff076d016a
commit 0dfb852d28

View file

@ -22,6 +22,7 @@ struct State {
/// Opaque handle for a State
/// only used for updating callbacks
#[derive(Clone)]
pub struct StateHandle {
state: Arc<State>,
}