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

# Struct ForExpression

Module: `std::meta::expr`

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

A for loop over an expression, decomposed by [`Expr::as_for`](/aztec-nr-api/v6.0.0/std/primitive.Expr.md#as_for).

## Implementations

```rust
impl ForExpression
```

```rust
pub comptime fn identifier(self) -> Quoted
```

The loop variable as a [`Quoted`](/aztec-nr-api/v6.0.0/std/primitive.Quoted.md) identifier.

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

The expression being iterated over.

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

The loop body.
