# [−][src]Struct irmaseal_curve::MillerLoopResult

pub struct MillerLoopResult(_);

Represents results of a Miller loop, one of the most expensive portions of the pairing function. MillerLoopResults cannot be compared with each other until .final_exponentiation() is called, which is also expensive.

## Methods

### impl MillerLoopResult[src]

#### pub fn final_exponentiation(&self) -> Gt[src]

This performs a "final exponentiation" routine to convert the result of a Miller loop into an element of Gt with help of efficient squaring operation in the so-called cyclotomic subgroup of Fq6 so that it can be compared with other elements of Gt.

## Trait Implementations

### impl<'a, 'b> Add<&'b MillerLoopResult> for &'a MillerLoopResult[src]

#### type Output = MillerLoopResult

The resulting type after applying the + operator.

### impl<'b> Add<&'b MillerLoopResult> for MillerLoopResult[src]

#### type Output = MillerLoopResult

The resulting type after applying the + operator.

### impl<'a> Add<MillerLoopResult> for &'a MillerLoopResult[src]

#### type Output = MillerLoopResult

The resulting type after applying the + operator.

### impl Add<MillerLoopResult> for MillerLoopResult[src]

#### type Output = MillerLoopResult

The resulting type after applying the + operator.

## Blanket Implementations

### impl<T> ToOwned for T where    T: Clone, [src]

#### type Owned = T

The resulting type after obtaining ownership.

### impl<T, U> TryFrom<U> for T where    U: Into<T>, [src]

#### type Error = Infallible

The type returned in the event of a conversion error.

### impl<T, U> TryInto<U> for T where    U: TryFrom<T>, [src]

#### type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.