1 unstable release
0.1.0 | Nov 8, 2022 |
---|
#10 in #deref-mut
3,448 downloads per month
Used in 5 crates
(2 directly)
7KB
97 lines
Deref Derive
A tiny crate that helps reducing boilerplate with Deref
and DerefMut
derive macros.
lib.rs
:
A tiny crate that provides #[derive(Deref)]
and #[derive(DerefMut)]
.
While this in unidiomatic to implement Deref
for wrapper types.
It can be useful and sees widespread use in the community. Therefore, this crate
provides a macro to derive Deref
and DerefMut
for you to help reduce boilerplate.
Dependencies
~1.5MB
~37K SLoC