[][src]Struct mcl::bn::G1

pub struct G1 { /* fields omitted */ }

Methods

impl G1[src]

pub fn clear(&mut self)[src]

impl G1[src]

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

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

pub fn hash_and_map(buf: &[u8]) -> Result<Self, i32>[src]

impl G1[src]

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

Trait Implementations

impl RawSerializable for G1[src]

impl Formattable for G1[src]

impl Clone for G1[src]

impl Default for G1[src]

impl PartialEq<G1> for G1[src]

impl Debug for G1[src]

impl Sub<G1> for G1[src]

type Output = G1

The resulting type after applying the - operator.

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

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

The resulting type after applying the - operator.

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

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

The resulting type after applying the - operator.

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

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

The resulting type after applying the - operator.

impl Add<G1> for G1[src]

type Output = G1

The resulting type after applying the + operator.

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

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

The resulting type after applying the + operator.

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

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

The resulting type after applying the + operator.

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

type Output = <G1 as Add<G1>>::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 Serialize for G1[src]

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

Auto Trait Implementations

impl Send for G1

impl Sync for G1

impl Unpin for G1

impl UnwindSafe for G1

impl RefUnwindSafe for G1

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]