Struct tauri::Context [−][src]
pub struct Context<A: Assets> { /* fields omitted */ }
Expand description
User supplied data required inside of a Tauri application.
Stability
This is the output of the tauri::generate_context!
macro, and is not considered part of the stable API.
Unless you know what you are doing and are prepared for this type to have breaking changes, do not create it yourself.
Implementations
A mutable reference to the config the application was prepared with.
A mutable reference to the assets to be served directly by Tauri.
The default window icon Tauri should use when creating windows.
A mutable reference to the default window icon Tauri should use when creating windows.
The icon to use on the system tray UI.
A mutable reference to the icon to use on the system tray UI.
Package information.
A mutable reference to the package information.
Auto Trait Implementations
impl<A> RefUnwindSafe for Context<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for Context<A> where
A: RefUnwindSafe,