For the complete documentation index, see llms.txt.
aztec-nr - std::meta::expr

Struct LetExpression

pub comptime struct LetExpression
{ /* private fields */ }

A let expression decomposed by Expr::as_let.

Implementations

impl LetExpression

pub comptime fn pattern(self) -> Expr

The let pattern.

pub comptime fn typ(self) -> Option<UnresolvedType>

The optional type annotation.

pub comptime fn expression(self) -> Expr

The expression assigned to the pattern.