Module sway_core::language::parsed::declaration
source · Re-exports
pub use function::*;
Modules
Structs
- A declaration of contract storage. Only valid within contract contexts. All values in this struct are mutable and persistent among executions of the same contract deployment.
- An individual field in a storage declaration. A type annotation and initializer value must be provided. The initializer value must be a constant expression. For now, that basically means just a literal, but as constant folding improves, we can update that.