pub struct DepositAndMergeRelationWithoutInput { /* private fields */ }Implementations§
Source§impl DepositAndMergeRelationWithoutInput
impl DepositAndMergeRelationWithoutInput
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 old_nullifier(&self) -> Result<&BackendNullifier, SynthesisError>
pub fn new_note(&self) -> Result<&BackendNote, SynthesisError>
pub fn token_amount(&self) -> Result<&BackendTokenAmount, SynthesisError>
pub fn merkle_root(&self) -> Result<&BackendMerkleRoot, SynthesisError>
pub fn old_trapdoor(&self) -> Result<&BackendTrapdoor, SynthesisError>
pub fn new_trapdoor(&self) -> Result<&BackendTrapdoor, SynthesisError>
pub fn new_nullifier(&self) -> Result<&BackendNullifier, SynthesisError>
pub fn merkle_path(&self) -> Result<&BackendMerklePath, SynthesisError>
pub fn leaf_index(&self) -> Result<&BackendLeafIndex, SynthesisError>
pub fn old_note(&self) -> Result<&BackendNote, SynthesisError>
pub fn old_token_amount(&self) -> Result<&BackendTokenAmount, SynthesisError>
pub fn new_token_amount(&self) -> Result<&BackendTokenAmount, SynthesisError>
Trait Implementations§
Source§impl Clone for DepositAndMergeRelationWithoutInput
impl Clone for DepositAndMergeRelationWithoutInput
Source§fn clone(&self) -> DepositAndMergeRelationWithoutInput
fn clone(&self) -> DepositAndMergeRelationWithoutInput
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 DepositAndMergeRelationWithoutInput
Available on crate feature circuit only.
impl ConstraintSynthesizer<Fp256<FrParameters>> for DepositAndMergeRelationWithoutInput
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 From<DepositAndMergeRelationWithPublicInput> for DepositAndMergeRelationWithoutInput
impl From<DepositAndMergeRelationWithPublicInput> for DepositAndMergeRelationWithoutInput
Source§fn from(obj: DepositAndMergeRelationWithPublicInput) -> Self
fn from(obj: DepositAndMergeRelationWithPublicInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DepositAndMergeRelationWithoutInput
impl RefUnwindSafe for DepositAndMergeRelationWithoutInput
impl Send for DepositAndMergeRelationWithoutInput
impl Sync for DepositAndMergeRelationWithoutInput
impl Unpin for DepositAndMergeRelationWithoutInput
impl UnwindSafe for DepositAndMergeRelationWithoutInput
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