aztec-nr - noir_aztec::protocol::data::public_data_tree_leaf_preimage

Struct PublicDataTreeLeafPreimage

pub struct PublicDataTreeLeafPreimage {
    pub slot: Field,
    pub value: Field,
    pub next_slot: Field,
    pub next_index: Field,
}

Fields

slot: Field
value: Field
next_slot: Field
next_index: Field

Trait implementations

impl Deserialize for PublicDataTreeLeafPreimage

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

impl Empty for PublicDataTreeLeafPreimage

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

impl Eq for PublicDataTreeLeafPreimage

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

impl Hash for PublicDataTreeLeafPreimage

pub fn hash(self) -> Field

impl IndexedTreeLeafPreimage<PublicDataTreeLeaf> for PublicDataTreeLeafPreimage

pub fn get_next_key(self) -> Field pub fn points_to_infinity(self) -> bool pub fn update_pointers(self, next_slot: Field, next_index: Field) -> Self pub fn update_value(self, write: PublicDataTreeLeaf) -> Self pub fn build_insertion_leaf(write: PublicDataTreeLeaf, low_leaf: Self) -> Self

impl LeafPreimage for PublicDataTreeLeafPreimage

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

impl Serialize for PublicDataTreeLeafPreimage

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