[][src]Struct mcl::bn::Fp

pub struct Fp { /* fields omitted */ }

Methods

impl Fp[src]

pub fn clear(&mut self)[src]

impl Fp[src]

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

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

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

impl Fp[src]

pub fn from_csprng() -> Self[src]

Trait Implementations

impl RawSerializable for Fp[src]

impl Random for Fp[src]

impl Clone for Fp[src]

impl Copy for Fp[src]

impl Default for Fp[src]

impl PartialEq<Fp> for Fp[src]

impl Debug for Fp[src]

impl Div<Fp> for Fp[src]

type Output = Fp

The resulting type after applying the / operator.

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

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

The resulting type after applying the / operator.

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

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

The resulting type after applying the / operator.

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

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

The resulting type after applying the / operator.

impl Sub<Fp> for Fp[src]

type Output = Fp

The resulting type after applying the - operator.

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

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

The resulting type after applying the - operator.

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

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

The resulting type after applying the - operator.

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

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

The resulting type after applying the - operator.

impl Add<Fp> for Fp[src]

type Output = Fp

The resulting type after applying the + operator.

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

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

The resulting type after applying the + operator.

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

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

The resulting type after applying the + operator.

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

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

The resulting type after applying the + operator.

impl Mul<Fp> for Fp[src]

type Output = Fp

The resulting type after applying the * operator.

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

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

The resulting type after applying the * operator.

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

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

The resulting type after applying the * operator.

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

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

The resulting type after applying the * operator.

impl Serialize for Fp[src]

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

Auto Trait Implementations

impl Send for Fp

impl Sync for Fp

impl Unpin for Fp

impl UnwindSafe for Fp

impl RefUnwindSafe for Fp

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]