Module language Copy item path Source pub use programs ::*;lexed parsed Contains all the code related to parsing Sway source code. programs ty AsmOp AsmRegister CallPath In the expression a::b::c(), a and b are the prefixes and c is the suffix.
c can be any type T, but in practice c is either an Ident or a TypeInfo. CallPathTree QualifiedCallPath ResolvedCallPath SubmodulesRecursive Iterator type for iterating over submodules. CallPathDisplayType This controls the type of display type for call path display string conversions. CallPathType Inline The inline of a function suggests to the compiler whether or not a function should be inlined. LazyOp Literal Purity 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 . Trace The trace of a function suggests to the compiler whether or not a function should be backtraced. Visibility HasModule HasSubmodules promote_purity Utility to find the union of purities. To ‘promote’ Reads to Writes we want ReadsWrites, and
the same for Writes to Reads. ModName The name used within a module to refer to one of its submodules.