Trait RingOperationFrom

Source
pub trait RingOperationFrom:
    Sized
    + for<'x> From<<&'x Self as Add>::Output>
    + for<'x> From<<&'x Self as Sub>::Output>
    + for<'x> From<<&'x Self as Mul>::Output>
where for<'x> &'x Self: RingOperation,
{ }

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> RingOperationFrom for T
where T: Sized + for<'x> From<<&'x T as Add>::Output> + for<'x> From<<&'x T as Sub>::Output> + for<'x> From<<&'x T as Mul>::Output>, for<'x> &'x T: RingOperation,