[][src]Struct mcl::bn::Fr

pub struct Fr { /* fields omitted */ }

Methods

impl Fr[src]

pub fn clear(&mut self)[src]

impl Fr[src]

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

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

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

impl Fr[src]

pub fn from_str(buffer: &str, io_mode: Base) -> Self[src]

impl Fr[src]

pub fn from_csprng() -> Self[src]

Trait Implementations

impl RawSerializable for Fr[src]

impl Formattable for Fr[src]

impl Random for Fr[src]

impl Clone for Fr[src]

impl Copy for Fr[src]

impl Default for Fr[src]

impl PartialEq<Fr> for Fr[src]

impl Debug for Fr[src]

impl Div<Fr> for Fr[src]

type Output = Fr

The resulting type after applying the / operator.

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

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

The resulting type after applying the / operator.

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

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

The resulting type after applying the / operator.

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

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

The resulting type after applying the / operator.

impl Sub<Fr> for Fr[src]

type Output = Fr

The resulting type after applying the - operator.

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

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

The resulting type after applying the - operator.

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

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

The resulting type after applying the - operator.

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

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

The resulting type after applying the - operator.

impl Add<Fr> for Fr[src]

type Output = Fr

The resulting type after applying the + operator.

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

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

The resulting type after applying the + operator.

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

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

The resulting type after applying the + operator.

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

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

The resulting type after applying the + operator.

impl Mul<Fr> for Fr[src]

type Output = Fr

The resulting type after applying the * operator.

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

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

The resulting type after applying the * operator.

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

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

The resulting type after applying the * operator.

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

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

The resulting type after applying the * operator.

impl Mul<Fr> for G1[src]

type Output = G1

The resulting type after applying the * operator.

impl<'a> Mul<Fr> for &'a G1[src]

type Output = <G1 as Mul<Fr>>::Output

The resulting type after applying the * operator.

impl<'a> Mul<&'a Fr> for G1[src]

type Output = <G1 as Mul<Fr>>::Output

The resulting type after applying the * operator.

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

type Output = <G1 as Mul<Fr>>::Output

The resulting type after applying the * operator.

impl Mul<Fr> for G2[src]

type Output = G2

The resulting type after applying the * operator.

impl<'a> Mul<Fr> for &'a G2[src]

type Output = <G2 as Mul<Fr>>::Output

The resulting type after applying the * operator.

impl<'a> Mul<&'a Fr> for G2[src]

type Output = <G2 as Mul<Fr>>::Output

The resulting type after applying the * operator.

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

type Output = <G2 as Mul<Fr>>::Output

The resulting type after applying the * operator.

impl Serialize for Fr[src]

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

Auto Trait Implementations

impl Send for Fr

impl Sync for Fr

impl Unpin for Fr

impl UnwindSafe for Fr

impl RefUnwindSafe for Fr

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]