Module sway_core::parse_tree::declaration::function
source · [−]Structs
Enums
The purity of a function is related to its access of contract storage. If a function accesses or could potentially access contract storage, it is Purity::Impure. If a function does not utilize any any accesses (reads or writes) of storage, then it is Purity::Pure.