Trait otter_api_tests::geometry::CheckedArith[]

pub trait CheckedArith: 'static + Copy + Clone + Debug {
    pub fn checked_add(self, rhs: Self) -> Result<Self, CoordinateOverflow>;
pub fn checked_sub(self, rhs: Self) -> Result<Self, CoordinateOverflow>;
pub fn checked_neg(self) -> Result<Self, CoordinateOverflow>; }

Required methods

pub fn checked_add(self, rhs: Self) -> Result<Self, CoordinateOverflow>

pub fn checked_sub(self, rhs: Self) -> Result<Self, CoordinateOverflow>

pub fn checked_neg(self) -> Result<Self, CoordinateOverflow>

Loading content...

Implementations on Foreign Types

impl CheckedArith for f64

impl CheckedArith for i32

Loading content...

Implementors

Loading content...