[−][src]Derive Macro derive_newtype::NewType
#[derive(NewType)]
Treat a single-field tuple struct as a "newtype"
This will implement From
, Into
, Deref
, and DerefMut
for the inner
type.
#[derive(NewType)]
Treat a single-field tuple struct as a "newtype"
This will implement From
, Into
, Deref
, and DerefMut
for the inner
type.