[][src]Macro amplify::wrapper

macro_rules! wrapper {
    ($name:ident, $from:ty, $docs:meta, derive=[$( $derive:ident ),+]) => { ... };
}

Macro simplifying creation of new wrapped types. It automatically implements Wrapper trait, adds default implementation for the following traits:

Macro allows to add custom derives to the newtype using derive argument