Crate macro_state_macros
source · [−]Macros
Clears the value for the specified key, if it exists
Checks if an existing state value can be found for the specified key
Returns the value for the specified key, if it exists. If it does not exist, the key is created and set to the specified value, and then the value is returned.
Reads the state value for the specified key
Writes the specified value as the state for the specified key