pub struct MillerLoopResult(/* private fields */);
Expand description
Miller loop result - must be finalized via .final_exponentiation()
for comparison.
Implementations§
Source§impl MillerLoopResult
impl MillerLoopResult
Sourcepub fn final_exponentiation(&self) -> Gt
pub fn final_exponentiation(&self) -> Gt
Converts Miller loop result to target group element.
Trait Implementations§
Source§impl<'a, 'b> Add<&'b MillerLoopResult> for &'a MillerLoopResult
impl<'a, 'b> Add<&'b MillerLoopResult> for &'a MillerLoopResult
Source§type Output = MillerLoopResult
type Output = MillerLoopResult
The resulting type after applying the
+
operator.Source§fn add(self, rhs: &'b MillerLoopResult) -> MillerLoopResult
fn add(self, rhs: &'b MillerLoopResult) -> MillerLoopResult
Performs the
+
operation. Read moreSource§impl<'b> Add<&'b MillerLoopResult> for MillerLoopResult
impl<'b> Add<&'b MillerLoopResult> for MillerLoopResult
Source§type Output = MillerLoopResult
type Output = MillerLoopResult
The resulting type after applying the
+
operator.Source§fn add(self, rhs: &'b MillerLoopResult) -> MillerLoopResult
fn add(self, rhs: &'b MillerLoopResult) -> MillerLoopResult
Performs the
+
operation. Read moreSource§impl<'a> Add<MillerLoopResult> for &'a MillerLoopResult
impl<'a> Add<MillerLoopResult> for &'a MillerLoopResult
Source§type Output = MillerLoopResult
type Output = MillerLoopResult
The resulting type after applying the
+
operator.Source§fn add(self, rhs: MillerLoopResult) -> MillerLoopResult
fn add(self, rhs: MillerLoopResult) -> MillerLoopResult
Performs the
+
operation. Read moreSource§impl Add for MillerLoopResult
impl Add for MillerLoopResult
Source§type Output = MillerLoopResult
type Output = MillerLoopResult
The resulting type after applying the
+
operator.Source§fn add(self, rhs: MillerLoopResult) -> MillerLoopResult
fn add(self, rhs: MillerLoopResult) -> MillerLoopResult
Performs the
+
operation. Read moreSource§impl<'b> AddAssign<&'b MillerLoopResult> for MillerLoopResult
impl<'b> AddAssign<&'b MillerLoopResult> for MillerLoopResult
Source§fn add_assign(&mut self, rhs: &'b MillerLoopResult)
fn add_assign(&mut self, rhs: &'b MillerLoopResult)
Performs the
+=
operation. Read moreSource§impl AddAssign for MillerLoopResult
impl AddAssign for MillerLoopResult
Source§fn add_assign(&mut self, rhs: MillerLoopResult)
fn add_assign(&mut self, rhs: MillerLoopResult)
Performs the
+=
operation. Read moreSource§impl Clone for MillerLoopResult
impl Clone for MillerLoopResult
Source§fn clone(&self) -> MillerLoopResult
fn clone(&self) -> MillerLoopResult
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 ConditionallySelectable for MillerLoopResult
impl ConditionallySelectable for MillerLoopResult
Source§fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
fn conditional_select(a: &Self, b: &Self, choice: Choice) -> Self
Source§fn conditional_assign(&mut self, other: &Self, choice: Choice)
fn conditional_assign(&mut self, other: &Self, choice: Choice)
Source§fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
fn conditional_swap(a: &mut Self, b: &mut Self, choice: Choice)
Conditionally swap
self
and other
if choice == 1
; otherwise,
reassign both unto themselves. Read moreSource§impl Debug for MillerLoopResult
impl Debug for MillerLoopResult
Source§impl Default for MillerLoopResult
impl Default for MillerLoopResult
impl Copy for MillerLoopResult
impl DefaultIsZeroes for MillerLoopResult
Auto Trait Implementations§
impl Freeze for MillerLoopResult
impl RefUnwindSafe for MillerLoopResult
impl Send for MillerLoopResult
impl Sync for MillerLoopResult
impl Unpin for MillerLoopResult
impl UnwindSafe for MillerLoopResult
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