Re-exports§
pub use programs::*;
Modules§
- Contains all the code related to parsing Sway source code.
Structs§
- In the expression
a::b::c()
,a
andb
are the prefixes andc
is the suffix.c
can be any typeT
, but in practicec
is either anIdent
or aTypeInfo
. - Iterator type for iterating over submodules.
Enums§
- The inline of a function suggests to the compiler whether or no a function should be inline.
- 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.
Traits§
Functions§
- Utility to find the union of purities. To ‘promote’ Reads to Writes we want ReadsWrites, and the same for Writes to Reads.
Type Aliases§
- The name used within a module to refer to one of its submodules.