Macro nova::newtype_copy [−][src]
macro_rules! newtype_copy { (@ __impl $ty : path => $name : ident) => { ... }; (@ __prefix $ty : path => $($tokens : tt) +) => { ... }; ($ty : path => pub $name : ident) => { ... }; ($ty : path => pub($($vis : tt) +) $name : ident) => { ... }; ($ty : path => $name : ident) => { ... }; }
Expand description
Create a copiable newtype for a given type and name.