pub type Scalar = Bls12_381Scalar;
Aliased Type§
struct Scalar(/* private fields */);
Trait Implementations§
Source§impl Field for Scalar
impl Field for Scalar
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_381Scalar
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