> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Struct AssignExpression

Module: `std::meta::expr`

```rust
pub comptime struct AssignExpression
{ /* private fields */ }
```

An assignment expression decomposed by [`Expr::as_assign`](/aztec-nr-api/v6.0.0/std/primitive.Expr.md#as_assign).

## Implementations

```rust
impl AssignExpression
```

```rust
pub comptime fn lhs(self) -> Expr
```

The left-hand side of the assignment.

```rust
pub comptime fn rhs(self) -> Expr
```

The right-hand side of the assignment.
