pub struct Invoke<R: Runtime = Wry> {
pub message: InvokeMessage<R>,
pub resolver: InvokeResolver<R>,
}
Expand description
The message and resolver given to a custom command.
Fields
message: InvokeMessage<R>
The message passed.
resolver: InvokeResolver<R>
The resolver of the message.
Trait Implementations
Auto Trait Implementations
impl<R = Wry<EventLoopMessage>> !RefUnwindSafe for Invoke<R>
impl<R> Send for Invoke<R>
impl<R> Sync for Invoke<R>
impl<R> Unpin for Invoke<R> where
<R as Runtime<EventLoopMessage>>::ClipboardManager: Unpin,
<R as Runtime<EventLoopMessage>>::Dispatcher: Unpin,
<R as Runtime<EventLoopMessage>>::GlobalShortcutManager: Unpin,
<R as Runtime<EventLoopMessage>>::Handle: Unpin,
<R as Runtime<EventLoopMessage>>::TrayHandler: Unpin,
impl<R = Wry<EventLoopMessage>> !UnwindSafe for Invoke<R>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more