Registry / utility / auto-ops

auto-ops

JSON →
library0.3.0rscratesunverified

Macros for easy operator overloading in Rust.

# Cargo.toml [dependencies] auto_ops = "0.3.0"
INSTALL
IMPORT
SIG · AUTO-OPS
A
auto-ops
utilityrustv0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

impl_op
use auto_ops::impl_op;

Implement the + operator for a custom type.

use auto_ops::impl_op; impl_op!(+|a: MyType, b: MyType| -> MyType { a });
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
2
Resources
auto-ops — cargo add auto-ops · libregistry