Crate deref_derive

source ·
Expand description

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.

Derive Macros

Used to derive Deref for a struct.
Used to derive DerefMut for a struct.