-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from photovoltex/adjust-docs
Adjust docs (move examples and explanation into code)
- Loading branch information
Showing
18 changed files
with
381 additions
and
307 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
use tauri::{AppHandle, State, Window}; | ||
|
||
/// Type alias to easier identify [State] via [tauri_interop_macro::command] macro | ||
#[allow(unused_imports)] | ||
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 [tauri_interop_macro::command] macro | ||
/// Type alias to easier identify [Window] via [command] macro | ||
pub type TauriWindow = Window; | ||
|
||
/// Type alias to easier identify [AppHandle] via [tauri_interop_macro::command] macro | ||
/// Type alias to easier identify [AppHandle] via [command] macro | ||
pub type TauriAppHandle = AppHandle; |
Oops, something went wrong.