sway_ir

Module module

Source
Expand description

A scope containing a collection of Functions and constant values.

A module also has a ‘kind’ corresponding to the different Sway module types.

Structs§

Module
A wrapper around an ECS handle into the Context.
ModuleIterator
An iterator over Modules within a Context.

Enums§

ConfigContent
Kind
The different ‘kinds’ of Sway module: Contract, Library, Predicate or Script.