tauri-interop 2.2.2

Easily connect your rust frontend and backend without writing duplicate code.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use tauri::{AppHandle, State, Window};

#[cfg(doc)]
use tauri_interop_macro::command;

/// Type alias to easier identify [State] via [command] macro
pub type TauriState<'r, T> = State<'r, T>;

/// Type alias to easier identify [Window] via [command] macro
pub type TauriWindow = Window;

/// Type alias to easier identify [AppHandle] via [command] macro
pub type TauriAppHandle = AppHandle;