ThinWrap
ThinWrap is a very small Rust library that provides a macro (thin_wrap!
) to wrap any struct in an outer struct, and generate its Deref
and DerefMut
traits automatically.
Example
With ThinWrap:
;
thin_wrap!;
Without ThinWrap:
;
;