pub struct Provider<C: FoldingConfig> {
pub instance: C::Instance,
pub witness: C::Witness,
}
Fields§
§instance: C::Instance
§witness: C::Witness
Implementations§
Trait Implementations§
source§impl<C: FoldingConfig> Provide<C> for Provider<C>where
C::Witness: Index<C::Column, Output = Evaluations<<C::Curve as AffineRepr>::ScalarField, Radix2EvaluationDomain<<C::Curve as AffineRepr>::ScalarField>>> + Index<C::Selector, Output = Evaluations<<C::Curve as AffineRepr>::ScalarField, Radix2EvaluationDomain<<C::Curve as AffineRepr>::ScalarField>>>,
C::Instance: Index<C::Challenge, Output = <C::Curve as AffineRepr>::ScalarField>,
impl<C: FoldingConfig> Provide<C> for Provider<C>where C::Witness: Index<C::Column, Output = Evaluations<<C::Curve as AffineRepr>::ScalarField, Radix2EvaluationDomain<<C::Curve as AffineRepr>::ScalarField>>> + Index<C::Selector, Output = Evaluations<<C::Curve as AffineRepr>::ScalarField, Radix2EvaluationDomain<<C::Curve as AffineRepr>::ScalarField>>>, C::Instance: Index<C::Challenge, Output = <C::Curve as AffineRepr>::ScalarField>,
Auto Trait Implementations§
impl<C> RefUnwindSafe for Provider<C>where <C as FoldingConfig>::Instance: RefUnwindSafe, <C as FoldingConfig>::Witness: RefUnwindSafe,
impl<C> Send for Provider<C>where <C as FoldingConfig>::Instance: Send, <C as FoldingConfig>::Witness: Send,
impl<C> Sync for Provider<C>where <C as FoldingConfig>::Instance: Sync, <C as FoldingConfig>::Witness: Sync,
impl<C> Unpin for Provider<C>where <C as FoldingConfig>::Instance: Unpin, <C as FoldingConfig>::Witness: Unpin,
impl<C> UnwindSafe for Provider<C>where <C as FoldingConfig>::Instance: UnwindSafe, <C as FoldingConfig>::Witness: 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