pub struct ActionHandlerWrapper<H: ActionHandler + Send>(Mutex<H>);Expand description
This is an implementation detail of accesskit_unix, required for robust
state transitions with minimal overhead.
Tuple Fields§
§0: Mutex<H>Implementations§
Source§impl<H: 'static + ActionHandler + Send> ActionHandlerWrapper<H>
impl<H: 'static + ActionHandler + Send> ActionHandlerWrapper<H>
Trait Implementations§
Source§impl<H: ActionHandler + Send> ActionHandlerNoMut for ActionHandlerWrapper<H>
impl<H: ActionHandler + Send> ActionHandlerNoMut for ActionHandlerWrapper<H>
fn do_action(&self, request: ActionRequest)
Auto Trait Implementations§
impl<H> !Freeze for ActionHandlerWrapper<H>
impl<H> RefUnwindSafe for ActionHandlerWrapper<H>
impl<H> Send for ActionHandlerWrapper<H>
impl<H> Sync for ActionHandlerWrapper<H>
impl<H> Unpin for ActionHandlerWrapper<H>where
H: Unpin,
impl<H> UnwindSafe for ActionHandlerWrapper<H>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more