#overloading #ops #op #operator

onforward_ref

onforward_ref_* macros auto generate standard implementation of operator overloading without Copy derive

1 unstable release

new 0.0.1 Mar 29, 2025

#15 in #op

Download history 125/week @ 2025-03-26

125 downloads per month
Used in 2 crates (via mpir)

MIT license

11KB
140 lines

onforward_ref

Rust's onforward_ref_* macros auto generate standard implementation of operator overloading in the form used by ref-oriented (without Copy derive) types. It likes such as forward_ref, but it is something else.

License

MIT License

No runtime deps