Crate fabric_support_procedural[][src]

Proc macro of Support code for the runtime.

Macros

construct_runtime

Construct a runtime, with the given name and the given modules.

crate_to_noble_version
decl_storage

Declares strongly-typed wrappers around codec-compatible types in storage.

Attribute Macros

noble

Macro to define a noble. Docs are at fabric_support::noble.

require_transactional
transactional

Execute the annotated function in a new storage transaction.

Derive Macros

CloneNoBound

Derive Clone but do not bound any generic. Docs are at fabric_support::CloneNoBound.

DebugNoBound

Derive Debug but do not bound any generics. Docs are at fabric_support::DeriveNoBounds.

EqNoBound

derive Eq but do no bound any generic. Docs are at fabric_support::EqNoBound.

PartialEqNoBound

Derive PartialEq but do not bound any generic. Docs are at fabric_support::PartialEqNoBound.

RuntimeDebugNoBound

Derive Debug, if std is enabled it uses fabric_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.