Function strict_mod_sub

Source
pub fn strict_mod_sub<T>(a: T, b: &T, m: &T) -> T
where 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.