pub trait SubMod<Rhs = Self, Mod = NonZero<Self>> { type Output; // Required method fn sub_mod(&self, rhs: &Rhs, p: &Mod) -> Self::Output; }
Compute self - rhs mod p.
self - rhs mod p
Output type.
Assumes self and rhs are < p.
self
rhs
< p
alloc