num::integer

Function div_rem

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

Simultaneous integer division and modulus