Struct percy_state::AppStateWrapper [−][src]
pub struct AppStateWrapper<S: AppState>(_);
Expand description
Holds application state.
Cloning
It can be useful to clone AppStateWrapper
’s in order to pass state into event handler
closures.
All clones will point to the same inner state.
Cloning an AppStateWrapper
is a very cheap operation.
Implementations
Trait Implementations
Auto Trait Implementations
impl<S> RefUnwindSafe for AppStateWrapper<S>
impl<S> Send for AppStateWrapper<S> where
S: Send + Sync,
impl<S> Sync for AppStateWrapper<S> where
S: Send + Sync,
impl<S> Unpin for AppStateWrapper<S>
impl<S> UnwindSafe for AppStateWrapper<S>
Blanket Implementations
Mutably borrows from an owned value. Read more