pub trait Constrain<M: Modulus<Self>>where Self: TryFrom<M>, <Self as TryFrom<M>>::Error: Debug,{ // Required method fn constrain(self, modulus: M) -> Self; }
A trait to constrain an integer to a modulus.
Constrain an integer to a modulus.