[][src]Struct ysbell::gadgets::multieq::MultiEq

pub struct MultiEq<E: ScalarEngine, CS: ConstraintSystem<E>> { /* fields omitted */ }

Implementations

impl<E: ScalarEngine, CS: ConstraintSystem<E>> MultiEq<E, CS>[src]

pub fn new(cs: CS) -> Self[src]

pub fn enforce_equal(
    &mut self,
    num_bits: usize,
    lhs: &LinearCombination<E>,
    rhs: &LinearCombination<E>
)
[src]

Trait Implementations

impl<E: ScalarEngine, CS: ConstraintSystem<E>> ConstraintSystem<E> for MultiEq<E, CS>[src]

type Root = Self

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

impl<E: ScalarEngine, CS: ConstraintSystem<E>> Drop for MultiEq<E, CS>[src]

Auto Trait Implementations

impl<E, CS> RefUnwindSafe for MultiEq<E, CS> where
    CS: RefUnwindSafe,
    <E as ScalarEngine>::Fr: RefUnwindSafe
[src]

impl<E, CS> Send for MultiEq<E, CS>[src]

impl<E, CS> Sync for MultiEq<E, CS> where
    CS: Sync
[src]

impl<E, CS> Unpin for MultiEq<E, CS> where
    CS: Unpin,
    <E as ScalarEngine>::Fr: Unpin
[src]

impl<E, CS> UnwindSafe for MultiEq<E, CS> where
    CS: UnwindSafe,
    <E as ScalarEngine>::Fr: UnwindSafe
[src]

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> Pointable for T

type Init = T

The type for initializers.

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>,