-
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.
- Loading branch information
1 parent
183ff7a
commit 013b26d
Showing
5 changed files
with
27 additions
and
19 deletions.
There are no files selected for viewing
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,3 +1,5 @@ | ||
#![allow(clippy::disallowed_names)] | ||
|
||
#![feature(iter_intersperse)] | ||
|
||
pub mod cmd; | ||
|
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,12 +1,15 @@ | ||
#[allow(dead_code)] | ||
#[derive(Default)] | ||
#[tauri_interop::emit_or_listen] | ||
pub struct TestState { | ||
pub echo: String, | ||
pub foo: i32, | ||
foo: String, | ||
pub bar: bool, | ||
} | ||
|
||
// /// not allowed | ||
// #[tauri_interop::emit_or_listen] | ||
// pub struct StructTupleState(String); | ||
|
||
// /// not allowed | ||
// #[tauri_interop::emit_or_listen] | ||
// pub struct PanicState {} |
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