Expand description
Macros§
- Accepts a closure-like syntax to call arbitrary code on a menu item after matching against
kindand retrieving it fromresources_tableusingrid. - Reads a Tauri config file and generates a
::tauri::Contextbased on the content. - Accepts a list of command functions. Creates a handler that allows commands to be called from JS with invoke().
- Convert a .png or .ico icon to an Image for things like
tauri::tray::TrayIconBuilderto consume, relative paths are resolved fromCARGO_MANIFEST_DIR, not current file
Attribute Macros§
- Mark a function as a command handler. It creates a wrapper function with the necessary glue code.
