Struct ark_test_curves::pairing::MillerLoopOutput
source · pub struct MillerLoopOutput<P>(pub <P as Pairing>::TargetField)
where
P: Pairing;
Expand description
Represents the output of the Miller loop of the pairing.
Tuple Fields§
§0: <P as Pairing>::TargetField
Trait Implementations§
source§impl<P> Clone for MillerLoopOutput<P>where
P: Pairing,
impl<P> Clone for MillerLoopOutput<P>where P: Pairing,
source§fn clone(&self) -> MillerLoopOutput<P>
fn clone(&self) -> MillerLoopOutput<P>
Returns a copy 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<P> Debug for MillerLoopOutput<P>where
P: Pairing,
impl<P> Debug for MillerLoopOutput<P>where P: Pairing,
source§impl<P> Mul<<P as Pairing>::ScalarField> for MillerLoopOutput<P>where
P: Pairing,
impl<P> Mul<<P as Pairing>::ScalarField> for MillerLoopOutput<P>where P: Pairing,
§type Output = MillerLoopOutput<P>
type Output = MillerLoopOutput<P>
The resulting type after applying the
*
operator.source§fn mul(self, other: <P as Pairing>::ScalarField) -> MillerLoopOutput<P>
fn mul(self, other: <P as Pairing>::ScalarField) -> MillerLoopOutput<P>
Performs the
*
operation. Read moresource§impl<P> Ord for MillerLoopOutput<P>where
P: Pairing,
impl<P> Ord for MillerLoopOutput<P>where P: Pairing,
source§fn cmp(&self, other: &MillerLoopOutput<P>) -> Ordering
fn cmp(&self, other: &MillerLoopOutput<P>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<P> PartialEq<MillerLoopOutput<P>> for MillerLoopOutput<P>where
P: Pairing,
impl<P> PartialEq<MillerLoopOutput<P>> for MillerLoopOutput<P>where P: Pairing,
source§fn eq(&self, other: &MillerLoopOutput<P>) -> bool
fn eq(&self, other: &MillerLoopOutput<P>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<P> PartialOrd<MillerLoopOutput<P>> for MillerLoopOutput<P>where
P: Pairing,
impl<P> PartialOrd<MillerLoopOutput<P>> for MillerLoopOutput<P>where P: Pairing,
source§fn partial_cmp(&self, other: &MillerLoopOutput<P>) -> Option<Ordering>
fn partial_cmp(&self, other: &MillerLoopOutput<P>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<P> Copy for MillerLoopOutput<P>where P: Pairing,
impl<P> Eq for MillerLoopOutput<P>where P: Pairing,
Auto Trait Implementations§
impl<P> RefUnwindSafe for MillerLoopOutput<P>where <P as Pairing>::TargetField: RefUnwindSafe,
impl<P> Send for MillerLoopOutput<P>
impl<P> Sync for MillerLoopOutput<P>
impl<P> Unpin for MillerLoopOutput<P>where <P as Pairing>::TargetField: Unpin,
impl<P> UnwindSafe for MillerLoopOutput<P>where <P as Pairing>::TargetField: UnwindSafe,
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more