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

# Struct BinaryOpExpression

Module: `std::meta::expr`

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

A binary operation decomposed by [`Expr::as_binary_op`](/aztec-nr-api/v6.0.0/std/primitive.Expr.md#as_binary_op).

## Implementations

```rust
impl BinaryOpExpression
```

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

The left-hand side of the operation.

```rust
pub comptime fn operator(self) -> BinaryOp
```

The binary operator.

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

The right-hand side of the operation.
