[−][src]Function math_util::round_up
pub fn round_up<T>(
value: T,
round_to: T
) -> <T as Add<<<T as Sub<<T as Rem>::Output>>::Output as Rem<T>>::Output>>::Output where
T: Copy,
T: Rem<T>,
T: Sub<<T as Rem>::Output>,
T: Add<<<T as Sub<<T as Rem>::Output>>::Output as Rem<T>>::Output>,
<T as Sub<<T as Rem>::Output>>::Output: Rem<T>,
Round value
to the next multiple of round_to
, unless it already
is a multiple.