Add clone to StateHandle
This commit is contained in:
parent
ff076d016a
commit
0dfb852d28
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ struct State {
|
|||
|
||||
/// Opaque handle for a State
|
||||
/// only used for updating callbacks
|
||||
#[derive(Clone)]
|
||||
pub struct StateHandle {
|
||||
state: Arc<State>,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue