referrerpolicy=no-referrer-when-downgrade

Trait RationalArg

pub trait RationalArg:
    Clone
    + Ord
    + Div<Output = Self>
    + Rem<Output = Self>
    + Add<Output = Self>
    + AddAssign
    + 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§

§

impl<T> RationalArg for T
where T: Div<Output = T> + Rem<Output = T> + Clone + Add<Output = T> + Ord + AddAssign + Unsigned + Zero + One + MultiplyRational,