Skip to main content

Carrier

Trait Carrier 

Source
pub trait Carrier:
    CubePartialOrd
    + CubeAdd
    + CubeMul
    + Add<Self, Output = Self>
    + Mul<Self, Output = Self>
    + Sized { }
Expand description

The ordering and arithmetic a Monoid needs of the values it combines.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> Carrier for T
where T: CubePartialOrd + CubeAdd + CubeMul + Add<Self, Output = Self> + Mul<Self, Output = Self>,