Crate frame_support_procedural
source · [−]Expand description
Proc macro of Support code for the runtime.
Macros
Construct a runtime, with the given name and the given modules.
Declares strongly-typed wrappers around codec-compatible types in storage.
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::DeriveNoBounds
.
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.