Attribute Macros

  • This trait auto impls all combinations of borrowed and owned for binary std::ops traits. To use this, you must impl std::ops::Op<&T> for &T and this macro will auto create the other traits to call your impl by borrowing the rhs or self as appropriate.

Derive Macros