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>;
}

Required Methods

Implementations on Foreign Types

Implementors