aztec-nr - protocol_types::tests::types

Struct TestLeafPreimage

pub struct TestLeafPreimage {
    pub value: Field,
    pub next_value: Field,
}

Fields

value: Field
next_value: Field

Trait implementations

impl Empty for TestLeafPreimage

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

impl Eq for TestLeafPreimage

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

impl IndexedTreeLeafPreimage<Field> for TestLeafPreimage

pub fn get_next_key(self) -> Field pub fn points_to_infinity(self) -> bool pub fn update_pointers(self, next_value: Field, _next_index: Field) -> Self pub fn update_value(self, value: Field) -> Self pub fn build_insertion_leaf(value: Field, low_leaf: Self) -> Self

impl LeafPreimage for TestLeafPreimage

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