pub type Fp = Bls12_381Fp;
Aliased Type§
struct Fp(/* private fields */);
Trait Implementations§
Source§impl Field for Fp
impl Field for Fp
Source§const ZERO: Self = <Self as IntMod>::ZERO
const ZERO: Self = <Self as IntMod>::ZERO
The zero element of the field, the additive identity.
Source§const ONE: Self = <Self as IntMod>::ONE
const ONE: Self = <Self as IntMod>::ONE
The one element of the field, the multiplicative identity.
type SelfRef<'a> = &'a Bls12_381Fp
Source§fn double_assign(&mut self)
fn double_assign(&mut self)
Doubles
self
in-place.Source§fn square_assign(&mut self)
fn square_assign(&mut self)
Square
self
in-place