pub trait WrapEventEx<State: 'static + PartialEq, Input: Dispatchable + 'static> {
// Required method
fn wrap(self) -> impl FnMut(DispatchPair, State) -> Result<State, State>;
}
Required Methods§
fn wrap(self) -> impl FnMut(DispatchPair, State) -> Result<State, State>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.