Struct tauri::App [−][src]
pub struct App<P: Params> { /* fields omitted */ }
A handle to the currently running application.
This type implements Manager
which allows for manipulation of global application items.
Trait Implementations
impl<P: Params> Manager<P> for App<P>
[src]
impl<P: Params> Manager<P> for App<P>
[src]fn config(&self) -> &Config
[src]
fn emit_all<S: Serialize + Clone>(
&self,
event: M::Event,
payload: Option<S>
) -> Result<()>
[src]
&self,
event: M::Event,
payload: Option<S>
) -> Result<()>
fn emit_to<S: Serialize + Clone>(
&self,
label: &M::Label,
event: M::Event,
payload: Option<S>
) -> Result<()>
[src]
&self,
label: &M::Label,
event: M::Event,
payload: Option<S>
) -> Result<()>
fn create_window(&mut self, pending: PendingWindow<M>) -> Result<Window<M>>
[src]
fn listen_global<F>(&self, event: M::Event, handler: F) -> EventHandler where
F: Fn(Event) + Send + 'static,
[src]
F: Fn(Event) + Send + 'static,
fn once_global<F>(&self, event: M::Event, handler: F) -> EventHandler where
F: Fn(Event) + Send + 'static,
[src]
F: Fn(Event) + Send + 'static,
fn trigger_global(&self, event: M::Event, data: Option<String>)
[src]
fn unlisten(&self, handler_id: EventHandler)
[src]
fn get_window(&self, label: &M::Label) -> Option<Window<M>>
[src]
fn windows(&self) -> HashMap<M::Label, Window<M>>
[src]
Auto Trait Implementations
impl<P> !RefUnwindSafe for App<P>
impl<P> !RefUnwindSafe for App<P>
impl<P> !UnwindSafe for App<P>
impl<P> !UnwindSafe for App<P>
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,