Expand description
Procedural macro crate for #[command].
Use through the wry_cmd crate unless you’re building custom tools.
Attribute Macros§
- command
- Marks a function as a Wry IPC command.
The function can take zero or one argument implementing
Deserializeand return a type implementingSerialize. If omitted, no args or no return are supported. Use#[command(name = "...")]or just#[command]. - commands
- Attribute macro to auto-generate and register IPC commands from a trait impl.