Function num::integer::div_rem

source ยท
pub fn div_rem<T>(x: T, y: T) -> (T, T)
where T: Integer,
Expand description

Simultaneous integer division and modulus