pub struct WithdrawRelationWithoutInput { /* private fields */ }Implementations§
Source§impl WithdrawRelationWithoutInput
impl WithdrawRelationWithoutInput
pub fn new(max_path_len: u8) -> Self
pub fn max_path_len(&self) -> &u8
pub fn fee(&self) -> Result<&BackendTokenAmount, SynthesisError>
pub fn recipient(&self) -> Result<&BackendAccount, SynthesisError>
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_out(&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 whole_token_amount(&self) -> Result<&BackendTokenAmount, SynthesisError>
pub fn new_token_amount(&self) -> Result<&BackendTokenAmount, SynthesisError>
Trait Implementations§
Source§impl Clone for WithdrawRelationWithoutInput
impl Clone for WithdrawRelationWithoutInput
Source§fn clone(&self) -> WithdrawRelationWithoutInput
fn clone(&self) -> WithdrawRelationWithoutInput
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 WithdrawRelationWithoutInput
Available on crate feature circuit only.
impl ConstraintSynthesizer<Fp256<FrParameters>> for WithdrawRelationWithoutInput
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 WithdrawRelationWithoutInput
impl Debug for WithdrawRelationWithoutInput
Source§impl From<WithdrawRelationWithPublicInput> for WithdrawRelationWithoutInput
impl From<WithdrawRelationWithPublicInput> for WithdrawRelationWithoutInput
Source§fn from(obj: WithdrawRelationWithPublicInput) -> Self
fn from(obj: WithdrawRelationWithPublicInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WithdrawRelationWithoutInput
impl RefUnwindSafe for WithdrawRelationWithoutInput
impl Send for WithdrawRelationWithoutInput
impl Sync for WithdrawRelationWithoutInput
impl Unpin for WithdrawRelationWithoutInput
impl UnwindSafe for WithdrawRelationWithoutInput
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