Struct NullifierLeafPreimage
pub struct NullifierLeafPreimage {
pub nullifier: Field,
pub next_nullifier: Field,
pub next_index: u32,
}
Fields
nullifier: Fieldnext_nullifier: Fieldnext_index: u32Implementations
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
impl Readable<ScopedReadRequest> for NullifierLeafPreimage
pub fn assert_match_read_request(self, read_request: ScopedReadRequest)