Docs.rs
  • sway-core-0.23.0
    • sway-core 0.23.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • fuel-service-user
    • Dependencies
      • clap ^3.1 normal
      • derivative ^2.2.0 normal
      • dirs ^3.0 normal
      • either ^1.6 normal
      • fuel-asm ^0.8 normal
      • fuel-crypto ^0.6 normal
      • fuel-tx ^0.18 normal
      • fuel-types ^0.5 normal
      • fuel-vm ^0.15 normal
      • hex ^0.4 normal
      • im ^15.0 normal
      • itertools ^0.10 normal
      • lazy_static ^1.4 normal
      • petgraph ^0.6 normal
      • prettydiff ^0.5 normal
      • serde ^1.0 normal
      • sha2 ^0.9 normal
      • smallvec ^1.7 normal
      • sway-ast ^0.23.0 normal
      • sway-ir ^0.23.0 normal
      • sway-parse ^0.23.0 normal
      • sway-types ^0.23.0 normal
      • sway-utils ^0.23.0 normal
      • thiserror ^1.0 normal
      • tracing ^0.1 normal
      • uint ^0.9 normal
      • vec1 ^1.8.0 normal
    • Versions
    • 6.89% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module declaration

  • Structs
  • Enums
  • Functions
logo
Change settings

Module sway_core::semantic_analysis::ast_node::declaration

source · [−]

Structs

ReassignmentLhs

Represents the left hand side of a reassignment – a name to locate it in the namespace, and the type that the name refers to. The type is used for memory layout in asm generation.

TypedAbiDeclaration

A TypedAbiDeclaration contains the type-checked version of the parse tree’s AbiDeclaration.

TypedConstantDeclaration
TypedEnumDeclaration
TypedEnumVariant
TypedFunctionDeclaration
TypedFunctionParameter
TypedImplTrait
TypedReassignment
TypedStorageDeclaration
TypedStorageField
TypedStructDeclaration
TypedStructField
TypedTraitDeclaration
TypedTraitFn
TypedVariableDeclaration

Enums

ProjectionKind
TypedDeclaration
VariableMutability

Functions

convert_to_variable_immutability