[][src]Trait bellperson::multiexp::Source

pub trait Source<G: CurveAffine> {
    fn add_assign_mixed(
        &mut self,
        to: &mut <G as CurveAffine>::Projective
    ) -> Result<(), SynthesisError>;
fn skip(&mut self, amt: usize) -> Result<(), SynthesisError>; }

A source of bases, like an iterator.

Required methods

fn add_assign_mixed(
    &mut self,
    to: &mut <G as CurveAffine>::Projective
) -> Result<(), SynthesisError>

Parses the element from the source. Fails if the point is at infinity.

fn skip(&mut self, amt: usize) -> Result<(), SynthesisError>

Skips amt elements from the source, avoiding deserialization.

Loading content...

Implementations on Foreign Types

impl<G: CurveAffine> Source<G> for (Arc<Vec<G>>, usize)[src]

Loading content...

Implementors

Loading content...