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