pub enum Alphas<F: Field> {
Powers(F, Rc<AtomicUsize>),
Combinations(Vec<F>),
}
Expand description
Combinators that will be used to fold the constraints, called the “alphas”. The alphas are exceptional, their number cannot be known ahead of time as it will be defined by folding. The values will be computed as powers in new instances, but after folding each alpha will be a linear combination of other alphas, instand of a power of other element. This type represents that, allowing to also recognize which case is present.
Variants§
Powers(F, Rc<AtomicUsize>)
Combinations(Vec<F>)
Implementations§
Trait Implementations§
source§impl<F: Field> PartialEq<Alphas<F>> for Alphas<F>
impl<F: Field> PartialEq<Alphas<F>> for Alphas<F>
impl<F: Field> Eq for Alphas<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for Alphas<F>where F: RefUnwindSafe,
impl<F> !Send for Alphas<F>
impl<F> !Sync for Alphas<F>
impl<F> Unpin for Alphas<F>where F: Unpin,
impl<F> UnwindSafe for Alphas<F>where F: UnwindSafe,
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more