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

# Struct UnaryOp

Module: `std::meta::op`

```rust
pub struct UnaryOp
{ /* private fields */ }
```

## Implementations

```rust
impl UnaryOp
```

```rust
pub fn is_minus(self) -> bool
```

```rust
pub fn is_not(self) -> bool
```

```rust
pub fn is_mutable_reference(self) -> bool
```

```rust
pub fn is_dereference(self) -> bool
```

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

## Trait implementations

```rust
impl Eq for UnaryOp
```

```rust
pub fn eq(self, other: Self) -> bool
```

```rust
impl Hash for UnaryOp
```

```rust
pub fn hash<H>(self, h: &mut H)
where
    H: Hasher
```
