Trait substrate_bn::Group[][src]

pub trait Group: Send + Sync + Copy + Clone + PartialEq + Eq + Sized + Add<Self, Output = Self> + Sub<Self, Output = Self> + Neg<Output = Self> + Mul<Fr, Output = Self> {
    fn zero() -> Self;
fn one() -> Self;
fn random<R: Rng>(rng: &mut R) -> Self;
fn is_zero(&self) -> bool;
fn normalize(&mut self); }

Required methods

fn zero() -> Self[src]

fn one() -> Self[src]

fn random<R: Rng>(rng: &mut R) -> Self[src]

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

fn normalize(&mut self)[src]

Loading content...

Implementors

impl Group for G1[src]

impl Group for G2[src]

Loading content...