Trait otter_base::geometry::CheckedArith
source · [−]pub trait CheckedArith: Copy + Clone + Debug + 'static {
fn checked_add(self, rhs: Self) -> Result<Self, CoordinateOverflow>;
fn checked_sub(self, rhs: Self) -> Result<Self, CoordinateOverflow>;
fn checked_neg(self) -> Result<Self, CoordinateOverflow>;
}