[][src]Struct bellperson::gadgets::test::TestConstraintSystem

pub struct TestConstraintSystem<E: ScalarEngine> { /* fields omitted */ }

Constraint system for testing purposes.

Implementations

impl<E: ScalarEngine> TestConstraintSystem<E>[src]

pub fn new() -> TestConstraintSystem<E>[src]

pub fn pretty_print(&self) -> String[src]

pub fn hash(&self) -> String[src]

pub fn which_is_unsatisfied(&self) -> Option<&str>[src]

pub fn is_satisfied(&self) -> bool[src]

pub fn num_constraints(&self) -> usize[src]

pub fn set(&mut self, path: &str, to: E::Fr)[src]

pub fn verify(&self, expected: &[E::Fr]) -> bool[src]

pub fn num_inputs(&self) -> usize[src]

pub fn get_input(&mut self, index: usize, path: &str) -> E::Fr[src]

pub fn get(&mut self, path: &str) -> E::Fr[src]

Trait Implementations

impl<E: ScalarEngine> ConstraintSystem<E> for TestConstraintSystem<E>[src]

type Root = Self

Represents the type of the "root" of this constraint system so that nested namespaces can minimize indirection. Read more

Auto Trait Implementations

impl<E> RefUnwindSafe for TestConstraintSystem<E> where
    <E as ScalarEngine>::Fr: RefUnwindSafe

impl<E> Send for TestConstraintSystem<E> where
    <E as ScalarEngine>::Fr: Send

impl<E> Sync for TestConstraintSystem<E> where
    <E as ScalarEngine>::Fr: Sync

impl<E> Unpin for TestConstraintSystem<E> where
    <E as ScalarEngine>::Fr: Unpin

impl<E> UnwindSafe for TestConstraintSystem<E> where
    <E as ScalarEngine>::Fr: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,