pub struct ActionHandler {
pub invoker: ShareId<Object>,
pub action: Box<Action>,
}
Expand description
A handler that contains the class for callback storage and invocation on
Fields§
§invoker: ShareId<Object>
The class for the callback.
action: Box<Action>
The callback.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActionHandler
impl !RefUnwindSafe for ActionHandler
impl Send for ActionHandler
impl Sync for ActionHandler
impl Unpin for ActionHandler
impl !UnwindSafe for ActionHandler
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