Registry / utility / impl-ops

impl-ops

JSON →
library0.1.1rscratesunverified

Macros for easy operator overloading in Rust.

utility
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.

use impl_ops::impl_ops;

Define operator overloads using macros.

use impl_ops::impl_ops; struct MyType; impl_ops!(impl Add<MyType> for MyType { fn add(self, rhs: MyType) -> MyType { MyType } }); fn main() { let _ = MyType + MyType; }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
gptbot
3
claudebot
3
Resources