pub struct PreparedVerifyingKey<E: PairingEngine> { /* private fields */ }Expand description
Preprocessed verification key parameters that enable faster verification at the expense of larger size in memory.
Trait Implementations§
Source§impl<E: Clone + PairingEngine> Clone for PreparedVerifyingKey<E>where
E::G1Affine: Clone,
E::G2Affine: Clone,
E::Fqk: Clone,
E::G1Prepared: Clone,
E::G2Prepared: Clone,
impl<E: Clone + PairingEngine> Clone for PreparedVerifyingKey<E>where
E::G1Affine: Clone,
E::G2Affine: Clone,
E::Fqk: Clone,
E::G1Prepared: Clone,
E::G2Prepared: Clone,
Source§fn clone(&self) -> PreparedVerifyingKey<E>
fn clone(&self) -> PreparedVerifyingKey<E>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<E: PairingEngine> Default for PreparedVerifyingKey<E>
impl<E: PairingEngine> Default for PreparedVerifyingKey<E>
Source§impl<E: PairingEngine> From<PreparedVerifyingKey<E>> for VerifyingKey<E>
impl<E: PairingEngine> From<PreparedVerifyingKey<E>> for VerifyingKey<E>
Source§fn from(other: PreparedVerifyingKey<E>) -> Self
fn from(other: PreparedVerifyingKey<E>) -> Self
Converts to this type from the input type.
Source§impl<E: PairingEngine> From<VerifyingKey<E>> for PreparedVerifyingKey<E>
impl<E: PairingEngine> From<VerifyingKey<E>> for PreparedVerifyingKey<E>
Source§fn from(other: VerifyingKey<E>) -> Self
fn from(other: VerifyingKey<E>) -> Self
Converts to this type from the input type.
Source§impl<E: PartialEq + PairingEngine> PartialEq for PreparedVerifyingKey<E>where
E::G1Affine: PartialEq,
E::G2Affine: PartialEq,
E::Fqk: PartialEq,
E::G1Prepared: PartialEq,
E::G2Prepared: PartialEq,
impl<E: PartialEq + PairingEngine> PartialEq for PreparedVerifyingKey<E>where
E::G1Affine: PartialEq,
E::G2Affine: PartialEq,
E::Fqk: PartialEq,
E::G1Prepared: PartialEq,
E::G2Prepared: PartialEq,
Source§impl<E: PairingEngine> ToBytes for PreparedVerifyingKey<E>
impl<E: PairingEngine> ToBytes for PreparedVerifyingKey<E>
impl<E: Eq + PairingEngine> Eq for PreparedVerifyingKey<E>
impl<E: PairingEngine> StructuralPartialEq for PreparedVerifyingKey<E>
Auto Trait Implementations§
impl<E> Freeze for PreparedVerifyingKey<E>where
<E as PairingEngine>::G1Affine: Freeze,
<E as PairingEngine>::G2Affine: Freeze,
<E as PairingEngine>::Fqk: Freeze,
<E as PairingEngine>::G1Prepared: Freeze,
<E as PairingEngine>::G2Prepared: Freeze,
impl<E> RefUnwindSafe for PreparedVerifyingKey<E>where
<E as PairingEngine>::G1Affine: RefUnwindSafe,
<E as PairingEngine>::G2Affine: RefUnwindSafe,
<E as PairingEngine>::Fqk: RefUnwindSafe,
<E as PairingEngine>::G1Prepared: RefUnwindSafe,
<E as PairingEngine>::G2Prepared: RefUnwindSafe,
impl<E> Send for PreparedVerifyingKey<E>
impl<E> Sync for PreparedVerifyingKey<E>
impl<E> Unpin for PreparedVerifyingKey<E>where
<E as PairingEngine>::G1Affine: Unpin,
<E as PairingEngine>::G2Affine: Unpin,
<E as PairingEngine>::Fqk: Unpin,
<E as PairingEngine>::G1Prepared: Unpin,
<E as PairingEngine>::G2Prepared: Unpin,
impl<E> UnwindSafe for PreparedVerifyingKey<E>where
<E as PairingEngine>::G1Affine: UnwindSafe,
<E as PairingEngine>::G2Affine: UnwindSafe,
<E as PairingEngine>::Fqk: UnwindSafe,
<E as PairingEngine>::G1Prepared: UnwindSafe,
<E as PairingEngine>::G2Prepared: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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