Struct snarkvm_wasm::algorithms::commitment::PedersenCommitmentParametersGadget [−][src]
pub struct PedersenCommitmentParametersGadget<G, S, F> where
G: Group,
S: PedersenSize,
F: Field, { /* fields omitted */ }Trait Implementations
impl<G, S, F> AllocGadget<PedersenCommitmentParameters<G, S>, F> for PedersenCommitmentParametersGadget<G, S, F> where
G: Group,
S: PedersenSize,
F: PrimeField, [src]
impl<G, S, F> AllocGadget<PedersenCommitmentParameters<G, S>, F> for PedersenCommitmentParametersGadget<G, S, F> where
G: Group,
S: PedersenSize,
F: PrimeField, [src]pub fn alloc<Fn, T, CS>(
_cs: CS,
value_gen: Fn
) -> Result<PedersenCommitmentParametersGadget<G, S, F>, SynthesisError> where
Fn: FnOnce() -> Result<T, SynthesisError>,
CS: ConstraintSystem<F>,
T: Borrow<PedersenCommitmentParameters<G, S>>, [src]
_cs: CS,
value_gen: Fn
) -> Result<PedersenCommitmentParametersGadget<G, S, F>, SynthesisError> where
Fn: FnOnce() -> Result<T, SynthesisError>,
CS: ConstraintSystem<F>,
T: Borrow<PedersenCommitmentParameters<G, S>>,
pub fn alloc_input<Fn, T, CS>(
_cs: CS,
value_gen: Fn
) -> Result<PedersenCommitmentParametersGadget<G, S, F>, SynthesisError> where
Fn: FnOnce() -> Result<T, SynthesisError>,
CS: ConstraintSystem<F>,
T: Borrow<PedersenCommitmentParameters<G, S>>, [src]
_cs: CS,
value_gen: Fn
) -> Result<PedersenCommitmentParametersGadget<G, S, F>, SynthesisError> where
Fn: FnOnce() -> Result<T, SynthesisError>,
CS: ConstraintSystem<F>,
T: Borrow<PedersenCommitmentParameters<G, S>>,
fn alloc_constant<Fn, T, CS>(_cs: CS, _f: Fn) -> Result<Self, SynthesisError> where
Fn: FnOnce() -> Result<T, SynthesisError>,
CS: ConstraintSystem<F>,
T: Borrow<V>, [src]
Fn: FnOnce() -> Result<T, SynthesisError>,
CS: ConstraintSystem<F>,
T: Borrow<V>,
fn alloc_checked<Fn, T, CS>(cs: CS, f: Fn) -> Result<Self, SynthesisError> where
Fn: FnOnce() -> Result<T, SynthesisError>,
CS: ConstraintSystem<F>,
T: Borrow<V>, [src]
Fn: FnOnce() -> Result<T, SynthesisError>,
CS: ConstraintSystem<F>,
T: Borrow<V>,
fn alloc_input_checked<Fn, T, CS>(cs: CS, f: Fn) -> Result<Self, SynthesisError> where
Fn: FnOnce() -> Result<T, SynthesisError>,
CS: ConstraintSystem<F>,
T: Borrow<V>, [src]
Fn: FnOnce() -> Result<T, SynthesisError>,
CS: ConstraintSystem<F>,
T: Borrow<V>,
impl<G, S, F> Clone for PedersenCommitmentParametersGadget<G, S, F> where
G: Clone + Group,
S: Clone + PedersenSize,
F: Clone + Field, [src]
impl<G, S, F> Clone for PedersenCommitmentParametersGadget<G, S, F> where
G: Clone + Group,
S: Clone + PedersenSize,
F: Clone + Field, [src]pub fn clone(&self) -> PedersenCommitmentParametersGadget<G, S, F>[src]
pub fn clone(&self) -> PedersenCommitmentParametersGadget<G, S, F>[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl<G, S, F> RefUnwindSafe for PedersenCommitmentParametersGadget<G, S, F> where
F: RefUnwindSafe,
G: RefUnwindSafe,
S: RefUnwindSafe,
F: RefUnwindSafe,
G: RefUnwindSafe,
S: RefUnwindSafe,
impl<G, S, F> Send for PedersenCommitmentParametersGadget<G, S, F> where
S: Send,
S: Send,
impl<G, S, F> Sync for PedersenCommitmentParametersGadget<G, S, F> where
S: Sync,
S: Sync,
impl<G, S, F> Unpin for PedersenCommitmentParametersGadget<G, S, F> where
F: Unpin,
G: Unpin,
S: Unpin,
F: Unpin,
G: Unpin,
S: Unpin,
impl<G, S, F> UnwindSafe for PedersenCommitmentParametersGadget<G, S, F> where
F: UnwindSafe,
G: UnwindSafe,
S: UnwindSafe,
F: UnwindSafe,
G: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,