Module salsa_2022::function
source · [−]Structs
This type is used to make configuration types for the functions in entities;
e.g. you can do
Config<X, 0>
and Config<X, 1>
.Function ingredients are the “workhorse” of salsa.
They are used for tracked functions, for the “value” fields of tracked structs, and for the fields of input structs.
The function ingredient is fairly complex and so its code is spread across multiple modules, typically one per method.
The main entry points are:
Traits
Functions
True if
old_value == new_value
. Invoked by the generated
code for should_backdate_value
so as to give a better
error message.