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

Struct UnaryOpExpression

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

A unary operation decomposed by Expr::as_unary_op.

Implementations

impl UnaryOpExpression

pub comptime fn operator(self) -> UnaryOp

The unary operator.

pub comptime fn rhs(self) -> Expr

The operand on the right-hand side of the operator.