Struct snarkvm_polycommit::kzg10::Powers
source · [−]pub struct Powers<'a, E: PairingEngine> {
pub powers_of_g: Cow<'a, [E::G1Affine]>,
pub powers_of_gamma_g: Cow<'a, [E::G1Affine]>,
}
Expand description
Powers
is used to commit to and create evaluation proofs for a given
polynomial.
Fields
powers_of_g: Cow<'a, [E::G1Affine]>
Group elements of the form β^i G
, for different values of i
.
powers_of_gamma_g: Cow<'a, [E::G1Affine]>
Group elements of the form β^i γG
, for different values of i
.
Implementations
sourceimpl<E: PairingEngine> Powers<'_, E>
impl<E: PairingEngine> Powers<'_, E>
Trait Implementations
sourceimpl<'a, E: PairingEngine> Clone for Powers<'a, E>
impl<'a, E: PairingEngine> Clone for Powers<'a, E>
sourceimpl<'a, E: PairingEngine> Debug for Powers<'a, E>
impl<'a, E: PairingEngine> Debug for Powers<'a, E>
sourceimpl<'a, E: PairingEngine> Default for Powers<'a, E>
impl<'a, E: PairingEngine> Default for Powers<'a, E>
sourceimpl<'a, E: PairingEngine> Hash for Powers<'a, E>
impl<'a, E: PairingEngine> Hash for Powers<'a, E>
Auto Trait Implementations
impl<'a, E> RefUnwindSafe for Powers<'a, E> where
<E as PairingEngine>::G1Affine: RefUnwindSafe,
impl<'a, E> Send for Powers<'a, E>
impl<'a, E> Sync for Powers<'a, E>
impl<'a, E> Unpin for Powers<'a, E> where
<E as PairingEngine>::G1Affine: Unpin,
impl<'a, E> UnwindSafe for Powers<'a, E> where
<E as PairingEngine>::G1Affine: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more