group

Trait GroupOps

Source
pub trait GroupOps<Rhs = Self, Output = Self>:
    Add<Rhs, Output = Output>
    + Sub<Rhs, Output = Output>
    + AddAssign<Rhs>
    + SubAssign<Rhs> { }
Expand description

A helper trait for types with a group operation.

Implementors§

Source§

impl<T, Rhs, Output> GroupOps<Rhs, Output> for T
where T: Add<Rhs, Output = Output> + Sub<Rhs, Output = Output> + AddAssign<Rhs> + SubAssign<Rhs>,