Crate frame_support_procedural
source · [−]Expand description
Proc macro of Support code for the runtime.
Macros
Internal macro use by frame_support to generate dummy part checker for old pallet declaration
Construct a runtime, with the given name and the given pallets.
Declares strongly-typed wrappers around codec-compatible types in storage.
This macro is meant to be used by frame-support only.
It implements the trait HasKeyPrefix
and HasReversibleKeyPrefix
for tuple of Key
.
Macro that inserts some tokens after the first match of some pattern.
Attribute Macros
Macro to define a pallet. Docs are at frame_support::pallet
.
Execute the annotated function in a new storage transaction.
Derive Macros
Derive Clone
but do not bound any generic. Docs are at frame_support::CloneNoBound
.
Derive Debug
but do not bound any generics. Docs are at frame_support::DebugNoBound
.
derive Default
but do no bound any generic. Docs are at frame_support::DefaultNoBound
.
derive Eq but do no bound any generic. Docs are at frame_support::EqNoBound
.
Derive PartialEq
but do not bound any generic. Docs are at
frame_support::PartialEqNoBound
.
Derive Debug
, if std
is enabled it uses frame_support::DebugNoBound
, if std
is not
enabled it just returns "<stripped>"
.
This behaviour is useful to prevent bloating the runtime WASM blob from unneeded code.