Trait ff_uint::Field[][src]

pub trait Field: Sized + Clone + Copy + Default + PartialEq + Eq + Debug + Display {
    const ZERO: Self;
    const ONE: Self;

    fn is_zero(&self) -> bool;
fn wrapping_add(self, other: Self) -> Self;
fn wrapping_sub(self, other: Self) -> Self;
fn wrapping_mul(self, other: Self) -> Self;
fn wrapping_neg(self) -> Self;
fn square(self) -> Self;
fn double(self) -> Self;
fn checked_inv(self) -> Option<Self>;
fn frobenius_map(self, power: usize) -> Self; fn wrapping_div(self, other: Self) -> Self { ... }
fn pow<S: BitIterBE>(self, exp: S) -> Self { ... } }

Associated Constants

const ZERO: Self[src]

const ONE: Self[src]

Loading content...

Required methods

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

fn wrapping_add(self, other: Self) -> Self[src]

fn wrapping_sub(self, other: Self) -> Self[src]

fn wrapping_mul(self, other: Self) -> Self[src]

fn wrapping_neg(self) -> Self[src]

fn square(self) -> Self[src]

fn double(self) -> Self[src]

fn checked_inv(self) -> Option<Self>[src]

fn frobenius_map(self, power: usize) -> Self[src]

Loading content...

Provided methods

fn wrapping_div(self, other: Self) -> Self[src]

fn pow<S: BitIterBE>(self, exp: S) -> Self[src]

Loading content...

Implementors

Loading content...