Function agde::utils::iusize_add

source ยท
pub fn iusize_add(a: usize, b: isize) -> Option<usize>
Expand description

a+b but with better overflow properties than (a as isize + b) as usize. Returns None if (-b) > a