[][src]Struct mcl::bn::Fp2

pub struct Fp2 { /* fields omitted */ }

Methods

impl Fp2[src]

pub fn clear(&mut self)[src]

impl Fp2[src]

pub fn neg(&self) -> Self[src]

pub fn inv(&self) -> Self[src]

pub fn sqr(&self) -> Self[src]

Trait Implementations

impl RawSerializable for Fp2[src]

impl Clone for Fp2[src]

impl Copy for Fp2[src]

impl Default for Fp2[src]

impl PartialEq<Fp2> for Fp2[src]

impl Debug for Fp2[src]

impl Div<Fp2> for Fp2[src]

type Output = Fp2

The resulting type after applying the / operator.

impl<'a> Div<Fp2> for &'a Fp2[src]

type Output = <Fp2 as Div<Fp2>>::Output

The resulting type after applying the / operator.

impl<'a> Div<&'a Fp2> for Fp2[src]

type Output = <Fp2 as Div<Fp2>>::Output

The resulting type after applying the / operator.

impl<'a, 'b> Div<&'a Fp2> for &'b Fp2[src]

type Output = <Fp2 as Div<Fp2>>::Output

The resulting type after applying the / operator.

impl Sub<Fp2> for Fp2[src]

type Output = Fp2

The resulting type after applying the - operator.

impl<'a> Sub<Fp2> for &'a Fp2[src]

type Output = <Fp2 as Sub<Fp2>>::Output

The resulting type after applying the - operator.

impl<'a> Sub<&'a Fp2> for Fp2[src]

type Output = <Fp2 as Sub<Fp2>>::Output

The resulting type after applying the - operator.

impl<'a, 'b> Sub<&'a Fp2> for &'b Fp2[src]

type Output = <Fp2 as Sub<Fp2>>::Output

The resulting type after applying the - operator.

impl Add<Fp2> for Fp2[src]

type Output = Fp2

The resulting type after applying the + operator.

impl<'a> Add<Fp2> for &'a Fp2[src]

type Output = <Fp2 as Add<Fp2>>::Output

The resulting type after applying the + operator.

impl<'a> Add<&'a Fp2> for Fp2[src]

type Output = <Fp2 as Add<Fp2>>::Output

The resulting type after applying the + operator.

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

type Output = <Fp2 as Add<Fp2>>::Output

The resulting type after applying the + operator.

impl Mul<Fp2> for Fp2[src]

type Output = Fp2

The resulting type after applying the * operator.

impl<'a> Mul<Fp2> for &'a Fp2[src]

type Output = <Fp2 as Mul<Fp2>>::Output

The resulting type after applying the * operator.

impl<'a> Mul<&'a Fp2> for Fp2[src]

type Output = <Fp2 as Mul<Fp2>>::Output

The resulting type after applying the * operator.

impl<'a, 'b> Mul<&'a Fp2> for &'b Fp2[src]

type Output = <Fp2 as Mul<Fp2>>::Output

The resulting type after applying the * operator.

impl Serialize for Fp2[src]

impl<'de> Deserialize<'de> for Fp2[src]

Auto Trait Implementations

impl Send for Fp2

impl Sync for Fp2

impl Unpin for Fp2

impl UnwindSafe for Fp2

impl RefUnwindSafe for Fp2

Blanket Implementations

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

impl<T> From<T> for T[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]