Expand description
Cut down on trivial impl From<A> for B
boilerplate code.
Macros
- Implement conversion from
A
toZ
viaB
,C
, … - Implement conversion from
T
to its newtype wrapper. - The same as
newtype_wrap
, except that the wrapping is implemented on all typesU
that convert toT
viainto()
.