[][src]Crate salsa_macros

This crate provides salsa's macros and attributes.

Attribute Macros

database

This attribute is placed on your database struct. It takes a list of the query groups that your database supports. The format looks like so:

query_group

The decorator that defines a salsa "query group" trait. This is a trait that defines everything that a block of queries need to execute, as well as defining the queries themselves that are exported for others to use.