Trait ff_uint::PrimeField[][src]

pub trait PrimeField: PrimeFieldParams + SqrtField + FromStr + From<&'static str> + Borsh {
    fn from_uint(v: Self::Inner) -> Option<Self>;
fn from_mont_uint(v: Self::Inner) -> Option<Self>;
fn from_uint_unchecked(v: Self::Inner) -> Self;
fn from_mont_uint_unchecked(v: Self::Inner) -> Self;
fn to_uint(&self) -> Self::Inner;
fn to_mont_uint(&self) -> Self::Inner;
fn as_mont_uint(&self) -> &Self::Inner;
fn as_mont_uint_mut(&mut self) -> &mut Self::Inner; fn to_other<Fq: PrimeField>(&self) -> Option<Fq> { ... }
fn to_other_reduced<Fq: PrimeField>(&self) -> Fq { ... } }

Required methods

fn from_uint(v: Self::Inner) -> Option<Self>[src]

fn from_mont_uint(v: Self::Inner) -> Option<Self>[src]

fn from_uint_unchecked(v: Self::Inner) -> Self[src]

fn from_mont_uint_unchecked(v: Self::Inner) -> Self[src]

fn to_uint(&self) -> Self::Inner[src]

fn to_mont_uint(&self) -> Self::Inner[src]

fn as_mont_uint(&self) -> &Self::Inner[src]

fn as_mont_uint_mut(&mut self) -> &mut Self::Inner[src]

Loading content...

Provided methods

fn to_other<Fq: PrimeField>(&self) -> Option<Fq>[src]

fn to_other_reduced<Fq: PrimeField>(&self) -> Fq[src]

Loading content...

Implementors

Loading content...