aztec-nr - protocol_types::abis::nullifier_leaf_preimage

Struct NullifierLeafPreimage

pub struct NullifierLeafPreimage {
    pub nullifier: Field,
    pub next_nullifier: Field,
    pub next_index: u32,
}

Fields

nullifier: Field
next_nullifier: Field
next_index: u32

Implementations

impl NullifierLeafPreimage

pub fn is_empty(self) -> bool pub fn serialize(self) -> [Field; 3] pub fn deserialize(fields: [Field; 3]) -> Self

Trait implementations

impl Empty for NullifierLeafPreimage

pub fn empty() -> Self pub fn is_empty(self) -> bool pub fn assert_empty<let S: u32>(self, msg: str<S>)

impl Eq for NullifierLeafPreimage

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

impl Hash for NullifierLeafPreimage

pub fn hash(self) -> Field

impl IndexedTreeLeafPreimage<Field> for NullifierLeafPreimage

pub fn get_next_key(self) -> Field pub fn points_to_infinity(self) -> bool pub fn update_pointers(self, next_key: Field, next_index: u32) -> Self pub fn update_value(self, _nullifier: Field) -> Self pub fn build_insertion_leaf(nullifier: Field, low_leaf: Self) -> Self

impl LeafPreimage for NullifierLeafPreimage

pub fn get_key(self) -> Field pub fn as_leaf(self) -> Field

impl Readable<ScopedReadRequest> for NullifierLeafPreimage

pub fn assert_match_read_request(self, read_request: ScopedReadRequest)