pub struct MergeRelationWithoutInput { /* private fields */ }Implementations§
Source§impl MergeRelationWithoutInput
impl MergeRelationWithoutInput
pub fn new(max_path_len: u8) -> Self
pub fn max_path_len(&self) -> &u8
pub fn token_id(&self) -> Result<&BackendTokenId, SynthesisError>
pub fn first_old_nullifier(&self) -> Result<&BackendNullifier, SynthesisError>
pub fn second_old_nullifier(&self) -> Result<&BackendNullifier, SynthesisError>
pub fn new_note(&self) -> Result<&BackendNote, SynthesisError>
pub fn merkle_root(&self) -> Result<&BackendMerkleRoot, SynthesisError>
pub fn first_old_trapdoor(&self) -> Result<&BackendTrapdoor, SynthesisError>
pub fn second_old_trapdoor(&self) -> Result<&BackendTrapdoor, SynthesisError>
pub fn new_trapdoor(&self) -> Result<&BackendTrapdoor, SynthesisError>
pub fn new_nullifier(&self) -> Result<&BackendNullifier, SynthesisError>
pub fn first_merkle_path(&self) -> Result<&BackendMerklePath, SynthesisError>
pub fn second_merkle_path(&self) -> Result<&BackendMerklePath, SynthesisError>
pub fn first_leaf_index(&self) -> Result<&BackendLeafIndex, SynthesisError>
pub fn second_leaf_index(&self) -> Result<&BackendLeafIndex, SynthesisError>
pub fn first_old_note(&self) -> Result<&BackendNote, SynthesisError>
pub fn second_old_note(&self) -> Result<&BackendNote, SynthesisError>
pub fn first_old_token_amount( &self, ) -> Result<&BackendTokenAmount, SynthesisError>
pub fn second_old_token_amount( &self, ) -> Result<&BackendTokenAmount, SynthesisError>
pub fn new_token_amount(&self) -> Result<&BackendTokenAmount, SynthesisError>
Trait Implementations§
Source§impl Clone for MergeRelationWithoutInput
impl Clone for MergeRelationWithoutInput
Source§fn clone(&self) -> MergeRelationWithoutInput
fn clone(&self) -> MergeRelationWithoutInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConstraintSynthesizer<Fp256<FrParameters>> for MergeRelationWithoutInput
Available on crate feature circuit only.
impl ConstraintSynthesizer<Fp256<FrParameters>> for MergeRelationWithoutInput
Available on crate feature
circuit only.Source§fn generate_constraints(self, cs: ConstraintSystemRef<Fr>) -> Result<()>
fn generate_constraints(self, cs: ConstraintSystemRef<Fr>) -> Result<()>
Drives generation of new constraints inside
cs.Source§impl Debug for MergeRelationWithoutInput
impl Debug for MergeRelationWithoutInput
Source§impl From<MergeRelationWithPublicInput> for MergeRelationWithoutInput
impl From<MergeRelationWithPublicInput> for MergeRelationWithoutInput
Source§fn from(obj: MergeRelationWithPublicInput) -> Self
fn from(obj: MergeRelationWithPublicInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MergeRelationWithoutInput
impl RefUnwindSafe for MergeRelationWithoutInput
impl Send for MergeRelationWithoutInput
impl Sync for MergeRelationWithoutInput
impl Unpin for MergeRelationWithoutInput
impl UnwindSafe for MergeRelationWithoutInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more