Trait eccoxide::curve::field::Field[][src]

pub trait Field<Output = Self>: Sized + 'static + Send + Sync + Clone + PartialEq + Eq + CtEqual + Debug + Display + From<u64> + Add<Output = Output> + Sub<Output = Output> + Mul<Output = Output> + Neg<Output = Output> + for<'a> Add<&'a Self, Output = Output> + for<'a> Sub<&'a Self, Output = Output> + for<'a> Mul<&'a Self, Output = Output> {
    fn zero() -> Output;
fn is_zero(&self) -> bool;
fn one() -> Output;
fn double(&self) -> Output;
fn inverse(&self) -> Output;
fn sign(&self) -> Sign;
fn square(&self) -> Output;
fn cube(&self) -> Output; }
Expand description

abstract trait for prime field support

Required methods

Implementors