Skip to main content

SelfAddition

Trait SelfAddition 

Source
pub trait SelfAddition:
    CoordinatePrimitive
    + Add<Output = Self>
    + Sub<Output = Self> { }
Expand description

Supports primitive-to-primitive addition and subtraction.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§