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
|
/// Opaque handle for a State
|
||||||
/// only used for updating callbacks
|
/// only used for updating callbacks
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct StateHandle {
|
pub struct StateHandle {
|
||||||
state: Arc<State>,
|
state: Arc<State>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue