[−][src]Struct snarkos_algorithms::snark::gm17::ProvingAssignment
Implementations
impl<E: PairingEngine> ProvingAssignment<E>
[src]
pub fn which_is_unsatisfied(&self) -> Option<usize>
[src]
Trait Implementations
impl<E: Clone + PairingEngine> Clone for ProvingAssignment<E> where
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
[src]
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
E::Fr: Clone,
fn clone(&self) -> ProvingAssignment<E>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<E: PairingEngine> ConstraintSystem<<E as PairingEngine>::Fr> for ProvingAssignment<E>
[src]
type Root = Self
Represents the type of the "root" of this constraint system so that nested namespaces can minimize indirection. Read more
fn alloc<F, A, AR>(&mut self, _: A, f: F) -> Result<Variable, SynthesisError> where
F: FnOnce() -> Result<E::Fr, SynthesisError>,
A: FnOnce() -> AR,
AR: Into<String>,
[src]
F: FnOnce() -> Result<E::Fr, SynthesisError>,
A: FnOnce() -> AR,
AR: Into<String>,
fn alloc_input<F, A, AR>(
&mut self,
_: A,
f: F
) -> Result<Variable, SynthesisError> where
F: FnOnce() -> Result<E::Fr, SynthesisError>,
A: FnOnce() -> AR,
AR: Into<String>,
[src]
&mut self,
_: A,
f: F
) -> Result<Variable, SynthesisError> where
F: FnOnce() -> Result<E::Fr, SynthesisError>,
A: FnOnce() -> AR,
AR: Into<String>,
fn enforce<A, AR, LA, LB, LC>(&mut self, _: A, a: LA, b: LB, c: LC) where
A: FnOnce() -> AR,
AR: Into<String>,
LA: FnOnce(LinearCombination<E::Fr>) -> LinearCombination<E::Fr>,
LB: FnOnce(LinearCombination<E::Fr>) -> LinearCombination<E::Fr>,
LC: FnOnce(LinearCombination<E::Fr>) -> LinearCombination<E::Fr>,
[src]
A: FnOnce() -> AR,
AR: Into<String>,
LA: FnOnce(LinearCombination<E::Fr>) -> LinearCombination<E::Fr>,
LB: FnOnce(LinearCombination<E::Fr>) -> LinearCombination<E::Fr>,
LC: FnOnce(LinearCombination<E::Fr>) -> LinearCombination<E::Fr>,
fn push_namespace<NR, N>(&mut self, _: N) where
NR: Into<String>,
N: FnOnce() -> NR,
[src]
NR: Into<String>,
N: FnOnce() -> NR,
fn pop_namespace(&mut self)
[src]
fn get_root(&mut self) -> &mut Self::Root
[src]
fn num_constraints(&self) -> usize
[src]
fn one() -> Variable
[src]
fn ns<NR, N>(&'a mut self, name_fn: N) -> Namespace<'a, F, Self::Root> where
N: FnOnce() -> NR,
NR: Into<String>,
[src]
N: FnOnce() -> NR,
NR: Into<String>,
impl<E: Debug + PairingEngine> Debug for ProvingAssignment<E> where
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
[src]
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
E::Fr: Debug,
impl<E: PartialEq + PairingEngine> PartialEq<ProvingAssignment<E>> for ProvingAssignment<E> where
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
[src]
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
E::Fr: PartialEq,
fn eq(&self, other: &ProvingAssignment<E>) -> bool
[src]
fn ne(&self, other: &ProvingAssignment<E>) -> bool
[src]
impl<E: PairingEngine> StructuralPartialEq for ProvingAssignment<E>
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for ProvingAssignment<E> where
<E as PairingEngine>::Fr: RefUnwindSafe,
<E as PairingEngine>::Fr: RefUnwindSafe,
impl<E> Send for ProvingAssignment<E> where
<E as PairingEngine>::Fr: Send,
<E as PairingEngine>::Fr: Send,
impl<E> Sync for ProvingAssignment<E> where
<E as PairingEngine>::Fr: Sync,
<E as PairingEngine>::Fr: Sync,
impl<E> Unpin for ProvingAssignment<E> where
<E as PairingEngine>::Fr: Unpin,
<E as PairingEngine>::Fr: Unpin,
impl<E> UnwindSafe for ProvingAssignment<E> where
<E as PairingEngine>::Fr: RefUnwindSafe + UnwindSafe,
<E as PairingEngine>::Fr: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,