CheckedArithMul

Trait CheckedArithMul 

Source
pub trait CheckedArithMul<RHS: Copy + Clone + Debug + 'static>:
    Copy
    + Clone
    + Debug
    + 'static {
    // Required method
    fn checked_mul(self, rhs: RHS) -> Result<Self, CoordinateOverflow>;
}

Required Methods§

Source

fn checked_mul(self, rhs: RHS) -> Result<Self, CoordinateOverflow>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CheckedArithMul<f64> for f64

Source§

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

Source§

impl CheckedArithMul<f64> for i32

Source§

impl CheckedArithMul<i32> for i32

Source§

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

Implementors§