pub struct MillerLoopOutput<P: Pairing>(pub P::TargetField);
Expand description
Represents the output of the Miller loop of the pairing.
Tuple Fields§
§0: P::TargetField
Trait Implementations§
Source§impl<P: Pairing> Clone for MillerLoopOutput<P>where
P::TargetField: Copy,
impl<P: Pairing> Clone for MillerLoopOutput<P>where
P::TargetField: Copy,
Source§impl<P: Pairing> Debug for MillerLoopOutput<P>where
P::TargetField: Debug,
impl<P: Pairing> Debug for MillerLoopOutput<P>where
P::TargetField: Debug,
Source§impl<P: Pairing> Mul<<P as Pairing>::ScalarField> for MillerLoopOutput<P>
impl<P: Pairing> Mul<<P as Pairing>::ScalarField> for MillerLoopOutput<P>
Source§type Output = MillerLoopOutput<P>
type Output = MillerLoopOutput<P>
The resulting type after applying the
*
operator.Source§fn mul(self, other: P::ScalarField) -> Self
fn mul(self, other: P::ScalarField) -> Self
Performs the
*
operation. Read moreSource§impl<P: Pairing> Ord for MillerLoopOutput<P>
impl<P: Pairing> Ord for MillerLoopOutput<P>
Source§impl<P: Pairing> PartialEq for MillerLoopOutput<P>where
P::TargetField: PartialEq,
impl<P: Pairing> PartialEq for MillerLoopOutput<P>where
P::TargetField: PartialEq,
Source§impl<P: Pairing> PartialOrd for MillerLoopOutput<P>
impl<P: Pairing> PartialOrd for MillerLoopOutput<P>
impl<P: Pairing> Copy for MillerLoopOutput<P>where
P::TargetField: Copy,
impl<P: Pairing> Eq for MillerLoopOutput<P>where
P::TargetField: PartialEq,
Auto Trait Implementations§
impl<P> Freeze for MillerLoopOutput<P>
impl<P> RefUnwindSafe for MillerLoopOutput<P>
impl<P> Send for MillerLoopOutput<P>
impl<P> Sync for MillerLoopOutput<P>
impl<P> Unpin for MillerLoopOutput<P>
impl<P> UnwindSafe for MillerLoopOutput<P>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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