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§
Object Safety§
This trait is not object safe.
Implementors§
source§impl IsModulus<UnsignedInteger<4>> for FqConfig
impl IsModulus<UnsignedInteger<4>> for FqConfig
source§impl IsModulus<UnsignedInteger<4>> for lambdaworks_math::elliptic_curve::short_weierstrass::curves::bls12_381::default_types::FrConfig
impl IsModulus<UnsignedInteger<4>> for lambdaworks_math::elliptic_curve::short_weierstrass::curves::bls12_381::default_types::FrConfig
Modulus of bls 12 381 subgroup
source§impl IsModulus<UnsignedInteger<4>> for lambdaworks_math::elliptic_curve::short_weierstrass::curves::bn_254::default_types::FrConfig
impl IsModulus<UnsignedInteger<4>> for lambdaworks_math::elliptic_curve::short_weierstrass::curves::bn_254::default_types::FrConfig
Modulus of bn 254 subgroup r = 21888242871839275222246405745257275088548364400416034343698204186575808495617, aka order
source§impl IsModulus<UnsignedInteger<4>> for BN254FieldModulus
impl IsModulus<UnsignedInteger<4>> for BN254FieldModulus
source§impl IsModulus<UnsignedInteger<4>> for lambdaworks_math::elliptic_curve::short_weierstrass::curves::grumpkin::curve::FrConfig
impl IsModulus<UnsignedInteger<4>> for lambdaworks_math::elliptic_curve::short_weierstrass::curves::grumpkin::curve::FrConfig
Modulus (Order) of Grumpkin Fr