Trait AdditiveGroup

Source
pub trait AdditiveGroup:
    AdditiveMonoid
    + Sub<Self, Output = Self>
    + SubAssign
    + Neg<Output = Self> { }
Expand description

Interface for a group with identity represented by zero, and operation defined by + and -

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.

Implementations on Foreign Types§

Source§

impl AdditiveGroup for f32

Source§

impl AdditiveGroup for f64

Source§

impl AdditiveGroup for i8

Source§

impl AdditiveGroup for i16

Source§

impl AdditiveGroup for i32

Source§

impl AdditiveGroup for i64

Source§

impl<U> AdditiveGroup for FixedI8<U>
where U: Unsigned + LtU8,

Source§

impl<U> AdditiveGroup for FixedI16<U>
where U: Unsigned + LtU16,

Source§

impl<U> AdditiveGroup for FixedI32<U>
where U: Unsigned + LtU32,

Source§

impl<U> AdditiveGroup for FixedI64<U>
where U: Unsigned + LtU64,

Implementors§