aztec-nr - noir_aztec::protocol::abis::nullifier_leaf_preimage

Struct NullifierLeafPreimage

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

Fields

nullifier: Field
next_nullifier: Field
next_index: Field

Implementations

impl NullifierLeafPreimage

pub fn is_empty(self) -> bool

Trait implementations

impl Deserialize for NullifierLeafPreimage

pub fn deserialize(fields: [Field; 3]) -> Self pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self

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: 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: Field) -> 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 for NullifierLeafPreimage

pub fn assert_match_read_request(self, read_request: Field)

impl Serialize for NullifierLeafPreimage

pub fn serialize(self) -> [Field; 3] pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)