pub trait IsModulus<U>: Debug {
const MODULUS: U;
}Expand description
This trait is necessary for us to be able to use unsigned integer types bigger than
u128 (the biggest native unit) as constant generics.
This trait should be removed when Rust supports this feature.
Required Associated Constants§
Implementors§
source§impl IsModulus<UnsignedInteger<4>> for FrConfig
impl IsModulus<UnsignedInteger<4>> for FrConfig
Modulus of bls 12 381 subgroup