Skip to main content

Module stmt

Module stmt 

Source
Available on crate feature ast-models only.
Expand description

AST models for statements and blocks.

Structs§

AssignStmt
An assignment, such as x = 1 or x += 1.
Block
A block of statements, optionally ending in a tail expression that gives the block its value.
LetStmt
A let (immutable) or var (mutable) variable declaration.
Stmt
A statement inside a Block.

Enums§

StmtKind
The different kinds of Stmts.