Registry / utility / opimps

opimps

JSON →
library0.2.2rscratesunverified

A simple library of attribute macros to assist with overloading operators for borrowed and owned data.

# Cargo.toml [dependencies] opimps = "0.2.2"
INSTALL
IMPORT
SIG · OPIMPS
O
opimps
utilityrustv0.2.2
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.

opimps
use opimps::opimps;

Use the opimps macro to generate operator overloads for both owned and borrowed types.

use opimps::opimps; #[opimps] impl std::ops::Add for MyType { type Output = Self; fn add(self, rhs: Self) -> Self { self } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Meta
1
Resources
opimps — cargo add opimps · libregistry