TimesSemiGroup

Trait TimesSemiGroup 

Source
pub trait TimesSemiGroup:
    Sized
    + Mul<Output = Self>
    + for<'a> Mul<&'a Self, Output = Self>
    + MulAssign
    + for<'a> MulAssign<&'a Self> { }

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: Sized + Mul<Output = T> + for<'a> Mul<&'a T, Output = T> + MulAssign + for<'a> MulAssign<&'a T>> TimesSemiGroup for T