Crate pallet_contracts_proc_macro[][src]

Proc macros used in the contracts module.

Derive Macros


This is basically identical to the std libs Debug derive but without adding any bounds to existing generics.


This derives Debug for a struct where each field must be of some numeric type. It interprets each field as its represents some weight and formats it as times so that it is readable by humans.