Struct tauri::InvokeMessage
source · pub struct InvokeMessage<R: Runtime = Wry> { /* private fields */ }
Expand description
An invoke message.
Implementations§
source§impl<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> Freeze for InvokeMessage<R>where
<R as Runtime<EventLoopMessage>>::Dispatcher: Freeze,
<R as Runtime<EventLoopMessage>>::Handle: Freeze,
<R as Runtime<EventLoopMessage>>::GlobalShortcutManager: Freeze,
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>>::Dispatcher: Unpin,
<R as Runtime<EventLoopMessage>>::Handle: Unpin,
<R as Runtime<EventLoopMessage>>::GlobalShortcutManager: Unpin,
impl<R = Wry<EventLoopMessage>> !UnwindSafe for InvokeMessage<R>
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