Trait bellperson::multiexp::Source [−][src]
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>; }
Expand description
A source of bases, like an iterator.
Required methods
fn add_assign_mixed(
&mut self,
to: &mut <G as CurveAffine>::Projective
) -> Result<(), SynthesisError>
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.