Struct snarkvm_polycommit::kzg10::Powers [−][src]
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]>Expand description
Group elements of the form β^i G, for different values of i.
powers_of_gamma_g: Cow<'a, [E::G1Affine]>Expand description
Group elements of the form β^i γG, for different values of i.
Implementations
impl<E: PairingEngine> Powers<'_, E>[src]
impl<E: PairingEngine> Powers<'_, E>[src]Trait Implementations
impl<'a, E: PairingEngine> Clone for Powers<'a, E>[src]
impl<'a, E: PairingEngine> Clone for Powers<'a, E>[src]impl<'a, E: PairingEngine> Debug for Powers<'a, E>[src]
impl<'a, E: PairingEngine> Debug for Powers<'a, E>[src]impl<'a, E: PairingEngine> Default for Powers<'a, E>[src]
impl<'a, E: PairingEngine> Default for Powers<'a, E>[src]impl<'a, E: PairingEngine> Hash for Powers<'a, E>[src]
impl<'a, E: PairingEngine> Hash for Powers<'a, E>[src]Auto Trait Implementations
impl<'a, E> RefUnwindSafe for Powers<'a, E> where
<E as PairingEngine>::G1Affine: RefUnwindSafe,
<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,
<E as PairingEngine>::G1Affine: Unpin,
impl<'a, E> UnwindSafe for Powers<'a, E> where
<E as PairingEngine>::G1Affine: RefUnwindSafe + UnwindSafe,
<E as PairingEngine>::G1Affine: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,