Expand description

All derive macros used in frame.

This is already part of the prelude.

Traits§

  • ? formatting.
  • Trait that allows zero-copy read of value-references from slices in LE format.
  • Trait that allows zero-copy write of value-references to slices in LE format.
  • Implementors return their meta type information.

Derive Macros§

  • Derive [Clone] but do not bound any generic.
  • Derive macro generating an impl of the trait Debug.
  • Derive [Debug] but do not bound any generics.
  • Derive parity_scale_codec::Decode and for struct and enum.
  • derive Default but do no bound any generic. Docs are at frame_support::DefaultNoBound.
  • Derive parity_scale_codec::Encode and parity_scale_codec::EncodeLike for struct and enum.
  • DeriveEq but do no bound any generic.
  • Derive [Ord] but do no bound any generic. Docs are at frame_support::OrdNoBound.
  • Derive [PartialEq] but do not bound any generic.
  • Derive [PartialOrd] but do not bound any generic. Docs are at frame_support::PartialOrdNoBound.
  • Derive [Debug], if std is enabled it uses frame_support::DebugNoBound, if std is not enabled it just returns "<wasm:stripped>". This behaviour is useful to prevent bloating the runtime WASM blob from unneeded code.