Arithmetic

Trait Arithmetic 

Source
pub trait Arithmetic:
    Sized
    + Clone
    + PartialEq
    + AsErr
    + Error
    + Send
    + Sync
    + 'static { }

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.

Implementors§

Source§

impl<Lhs, Rhs> Arithmetic for AddError<Lhs, Rhs>
where Lhs: Type, Rhs: Type,

Source§

impl<Lhs, Rhs> Arithmetic for DivError<Lhs, Rhs>
where Lhs: Type, Rhs: Type,

Source§

impl<Lhs, Rhs> Arithmetic for MulError<Lhs, Rhs>
where Lhs: Type, Rhs: Type,

Source§

impl<Lhs, Rhs> Arithmetic for SubError<Lhs, Rhs>
where Lhs: Type, Rhs: Type,

Source§

impl<Src, Target> Arithmetic for CastError<Src, Target>
where Src: Type, Target: Type,