Struct tauri::Context [−][src]
pub struct Context<A: Assets> { pub config: Config, pub assets: A, pub default_window_icon: Option<Vec<u8>>, pub package_info: PackageInfo, }
User supplied data required inside of a Tauri application.
Fields
config: Config
The config the application was prepared with.
assets: A
The assets to be served directly by Tauri.
default_window_icon: Option<Vec<u8>>
The default window icon Tauri should use when creating windows.
package_info: PackageInfo
Package information.
Auto Trait Implementations
impl<A> RefUnwindSafe for Context<A> where
A: RefUnwindSafe,
impl<A> RefUnwindSafe for Context<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for Context<A> where
A: UnwindSafe,
impl<A> UnwindSafe for Context<A> where
A: UnwindSafe,
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>,