Crate sunscreen_math_macros
source ·Attribute Macros
- This trait auto impls all combinations of borrowed and owned for binary
std::ops
traits. To use this, you must implstd::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.