[][src]Struct threshold_crypto::Fr

pub struct Fr(_);

Trait Implementations

impl From<Fr> for FrRepr[src]

impl PartialEq<Fr> for Fr[src]

impl Display for Fr[src]

impl Copy for Fr[src]

impl PrimeField for Fr[src]

type Repr = FrRepr

The prime field can be converted back and forth into this biginteger representation. Read more

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

Interpret a string of numbers as a (congruent) prime field element. Does not accept unnecessary leading zeroes or a blank string. Read more

impl Debug for Fr[src]

impl Rand for Fr[src]

impl Field for Fr[src]

fn pow<S>(&self, exp: S) -> Self where
    S: AsRef<[u64]>, 
[src]

Exponentiates this element by a number represented with u64 limbs, least significant digit first. Read more

impl Clone for Fr[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl SqrtField for Fr[src]

impl Eq for Fr[src]

impl IntoFr for Fr[src]

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

type Output = Poly

The resulting type after applying the + operator.

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

type Output = Poly

The resulting type after applying the - operator.

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

type Output = Poly

The resulting type after applying the * operator.

impl Mul<Fr> for Poly[src]

type Output = Poly

The resulting type after applying the * operator.

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

type Output = Poly

The resulting type after applying the * operator.

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

type Output = Poly

The resulting type after applying the * operator.

impl MulAssign<Fr> for Poly[src]

Auto Trait Implementations

impl Sync for Fr

impl Send for Fr

impl Unpin for Fr

impl RefUnwindSafe for Fr

impl UnwindSafe for Fr

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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