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

# Struct NullifierLeafPreimage

Module: `noir_aztec::protocol::abis::nullifier_leaf_preimage`

```rust
pub struct NullifierLeafPreimage {
    pub nullifier: Field,
    pub next_nullifier: Field,
    pub next_index: Field,
}
```

## Fields

```rust
nullifier: Field
```

```rust
next_nullifier: Field
```

```rust
next_index: Field
```

## Implementations

```rust
impl NullifierLeafPreimage
```

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

## Trait implementations

```rust
impl Deserialize for NullifierLeafPreimage
```

```rust
pub fn deserialize(fields: [Field; 3]) -> Self
```

```rust
pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self
```

```rust
impl Empty for NullifierLeafPreimage
```

```rust
pub fn empty() -> Self
```

```rust
pub fn is_empty(self: Self) -> bool
where
    Self: Eq
```

```rust
pub fn assert_empty<let S: u32>(self: Self, msg: str<S>)
where
    Self: Eq
```

```rust
impl Eq for NullifierLeafPreimage
```

```rust
pub fn eq(_self: Self, _other: Self) -> bool
```

```rust
impl Hash for NullifierLeafPreimage
```

```rust
pub fn hash(self) -> Field
```

```rust
impl IndexedTreeLeafPreimage<Field> for NullifierLeafPreimage
```

```rust
pub fn get_next_key(self) -> Field
```

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

```rust
pub fn update_pointers(self, next_key: Field, next_index: Field) -> Self
```

```rust
pub fn update_value(self, _nullifier: Field) -> Self
```

```rust
pub fn build_insertion_leaf(nullifier: Field, low_leaf: Self) -> Self
```

```rust
impl LeafPreimage for NullifierLeafPreimage
```

```rust
pub fn get_key(self) -> Field
```

```rust
pub fn as_leaf(self) -> Field
```

```rust
impl Readable for NullifierLeafPreimage
```

```rust
pub fn assert_match_read_request(self, read_request: Field)
```

```rust
impl Serialize for NullifierLeafPreimage
```

```rust
pub fn serialize(self) -> [Field; 3]
```

```rust
pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)
```
