Struct tauri::InvokeMessage
source · [−]Expand description
An invoke message.
Implementations
sourceimpl<R: Runtime> InvokeMessage<R>
impl<R: Runtime> InvokeMessage<R>
sourcepub fn window_ref(&self) -> &Window<R>
pub fn window_ref(&self) -> &Window<R>
A reference to window that received the invoke.
sourcepub fn state(&self) -> Arc<StateManager>
pub fn state(&self) -> Arc<StateManager>
The state manager associated with the application
sourcepub fn state_ref(&self) -> &StateManager
pub fn state_ref(&self) -> &StateManager
A reference to the state manager associated with application.
Trait Implementations
Auto Trait Implementations
impl<R = Wry<EventLoopMessage>> !RefUnwindSafe for InvokeMessage<R>
impl<R> Send for InvokeMessage<R>
impl<R> Sync for InvokeMessage<R>
impl<R> Unpin for InvokeMessage<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 InvokeMessage<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