Skip to content

Glossary: Desktop Apps with Electron and Tauri

Attribute (Rust)

Also written: attribute, #[...]

A `#[...]` note in Rust that changes the item below it. `#[tauri::command]` turns a function into a command.

Where the book teaches it

Related terms

Macro (Rust)Command (Tauri)