tauri_interop/command/
type_aliases.rs

1use tauri::{AppHandle, State, Window};
2
3#[cfg(doc)]
4use tauri_interop_macro::command;
5
6/// Type alias to easier identify [State] via [command] macro
7pub type TauriState<'r, T> = State<'r, T>;
8
9/// Type alias to easier identify [Window] via [command] macro
10pub type TauriWindow = Window;
11
12/// Type alias to easier identify [AppHandle] via [command] macro
13pub type TauriAppHandle = AppHandle;