Skip to main content

RModOps

Trait RModOps 

Source
pub trait RModOps<R, T>:
    AddGrpOps<T>
    + Mul<R, Output = T>
    + for<'a> Mul<&'a R, Output = T>
where R: Ring, for<'x> &'x R: RingOps<R>,
{ }
Expand description

Helper trait bundling AddGrpOps with scalar multiplication by R (both T * R and T * &R) so RMod can require them via one HRTB.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<X, R> RModOps<R, Lc<X, R>> for &Lc<X, R>
where X: LcKey, R: Ring, for<'x> &'x R: RingOps<R>,

Source§

impl<X, R> RModOps<R, Lc<X, R>> for Lc<X, R>
where X: LcKey, R: Ring, for<'x> &'x R: RingOps<R>,