Function rin::math::iwrap [−][src]
pub fn iwrap<T>(value: T, from: T, to: T) -> T where
T: PrimInt + Display, Wrap an integer value in the range from..to
pub fn iwrap<T>(value: T, from: T, to: T) -> T where
T: PrimInt + Display, Wrap an integer value in the range from..to