Trait RationalArg

Source
pub trait RationalArg:
    Clone
    + Ord
    + Div<Self, Output = Self>
    + Rem<Self, Output = Self>
    + Add<Self, Output = Self>
    + AddAssign<Self>
    + Unsigned
    + Zero
    + One
    + MultiplyRational { }

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<T: Clone + Ord + Div<Self, Output = Self> + Rem<Self, Output = Self> + Add<Self, Output = Self> + AddAssign<Self> + Unsigned + Zero + One + MultiplyRational> RationalArg for T