//! Modular inversion.
usecrate::NonZero;/// The multiplicative inverse modulo `modulus`. Each implementation states
/// whether it is constant time.
pubtraitModInverse<Modulus = NonZero<Self>> {/// The type of the inverse.
typeOutput;/// `x` with `self * x = 1 (mod modulus)`, or `None` when there is none,
/// as when `self` and `modulus` share a factor. `self` need not be below
/// `modulus`; it is reduced first.
fnmod_inverse(&self, modulus:&Modulus)->Option<Self::Output>;}