Trait cryptix_field::field::MulIdentity
source · pub trait MulIdentity: Sized + Mul<Output = Self> {
const MUL_IDENTITY: Self;
const ONE: Self = Self::MUL_IDENTITY;
}Expand description
Safety
This trait is safe only when for any a, a * MUL_IDENTITY = MUL_IDENTITY * a = a
Required Associated Constants§
const MUL_IDENTITY: Self
Provided Associated Constants§
Implementors§
source§impl<I, M> MulIdentity for FpElement<I, M>where
I: BigIntOpsExt + IsBigInt,
M: Montgomery<I>,
impl<I, M> MulIdentity for FpElement<I, M>where I: BigIntOpsExt + IsBigInt, M: Montgomery<I>,
Safety
1 is the multiplicative ideneity for biguint