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§

Enums§

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