pub fn strict_mod_sub<T>(a: T, b: &T, m: &T) -> Twhere
for<'b> T: PartialOrd + OverflowingAdd + OverflowingSub + RemAssign<&'b T>,
for<'a> &'a T: Rem<&'a T, Output = T>,
Expand description
ยงModular Subtraction (Strict)
Most constrained version that works with references. Requires
OverflowingAdd
and OverflowingSub
traits to be implemented.