pub struct ChunkedPippenger<G: VariableBaseMSM> { /* private fields */ }Expand description
Struct for the chunked Pippenger algorithm.
Implementations§
Source§impl<G: VariableBaseMSM> ChunkedPippenger<G>
impl<G: VariableBaseMSM> ChunkedPippenger<G>
Sourcepub fn new(max_msm_buffer: usize) -> Self
pub fn new(max_msm_buffer: usize) -> Self
Initialize a chunked Pippenger instance with default parameters.
Sourcepub fn with_size(buf_size: usize) -> Self
pub fn with_size(buf_size: usize) -> Self
Initialize a chunked Pippenger instance with the given buffer size.
Auto Trait Implementations§
impl<G> Freeze for ChunkedPippenger<G>where
Vec<<<G as PrimeGroup>::ScalarField as PrimeField>::BigInt>: Freeze,
Vec<<G as ScalarMul>::MulBase>: Freeze,
G: Freeze,
impl<G> RefUnwindSafe for ChunkedPippenger<G>where
Vec<<<G as PrimeGroup>::ScalarField as PrimeField>::BigInt>: RefUnwindSafe,
Vec<<G as ScalarMul>::MulBase>: RefUnwindSafe,
G: RefUnwindSafe,
impl<G> Send for ChunkedPippenger<G>where
Vec<<<G as PrimeGroup>::ScalarField as PrimeField>::BigInt>: Send,
Vec<<G as ScalarMul>::MulBase>: Send,
impl<G> Sync for ChunkedPippenger<G>where
Vec<<<G as PrimeGroup>::ScalarField as PrimeField>::BigInt>: Sync,
Vec<<G as ScalarMul>::MulBase>: Sync,
impl<G> Unpin for ChunkedPippenger<G>where
Vec<<<G as PrimeGroup>::ScalarField as PrimeField>::BigInt>: Unpin,
Vec<<G as ScalarMul>::MulBase>: Unpin,
G: Unpin,
impl<G> UnsafeUnpin for ChunkedPippenger<G>where
Vec<<<G as PrimeGroup>::ScalarField as PrimeField>::BigInt>: UnsafeUnpin,
Vec<<G as ScalarMul>::MulBase>: UnsafeUnpin,
G: UnsafeUnpin,
impl<G> UnwindSafe for ChunkedPippenger<G>where
Vec<<<G as PrimeGroup>::ScalarField as PrimeField>::BigInt>: UnwindSafe,
Vec<<G as ScalarMul>::MulBase>: UnwindSafe,
G: 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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more