pub trait Add { }Expand description
Addition operator +. Mirrors std::ops::Add.
Use + directly; the methods (.add(b), Add::add(&a, &b), <T as Add>::add(&a, &b))
and the associated type <T as Add>::Output are not accepted.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".