[][src]Struct rabe_bn::Fr

#[repr(C)]pub struct Fr(_);

Implementations

impl Fr[src]

pub fn zero() -> Self[src]

pub fn one() -> Self[src]

pub fn pow(&self, exp: Fr) -> Self[src]

pub fn from_str(s: &str) -> Option<Self>[src]

pub fn inverse(&self) -> Option<Self>[src]

pub fn is_zero(&self) -> bool[src]

pub fn interpret(buf: &[u8; 64]) -> Fr[src]

Trait Implementations

impl Add<Fr> for Fr[src]

type Output = Fr

The resulting type after applying the + operator.

impl Clone for Fr[src]

impl Copy for Fr[src]

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

impl Distribution<Fr> for Standard[src]

impl Eq for Fr[src]

impl Mul<Fr> for Fr[src]

type Output = Fr

The resulting type after applying the * operator.

impl Mul<Fr> for G1[src]

type Output = G1

The resulting type after applying the * operator.

impl Mul<Fr> for G2[src]

type Output = G2

The resulting type after applying the * operator.

impl Neg for Fr[src]

type Output = Fr

The resulting type after applying the - operator.

impl PartialEq<Fr> for Fr[src]

impl Serialize for Fr[src]

impl StructuralEq for Fr[src]

impl StructuralPartialEq for Fr[src]

impl Sub<Fr> for Fr[src]

type Output = Fr

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Fr

impl Send for Fr

impl Sync for Fr

impl Unpin for Fr

impl UnwindSafe for Fr

Blanket Implementations

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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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<V, T> VZip<V> for T where
    V: MultiLane<T>,