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. Docs are atframe_support::CloneNoBound. - Derive macro generating an impl of the trait
Debug. - Derive [
Debug] but do not bound any generics. Docs are atframe_support::DebugNoBound. - Derive
parity_scale_codec::Decodeand for struct and enum. - derive
Defaultbut do no bound any generic. Docs are atframe_support::DefaultNoBound. - Derive
parity_scale_codec::Encodeandparity_scale_codec::EncodeLikefor struct and enum. - derive Eq but do no bound any generic. Docs are at
frame_support::EqNoBound. - Derive [
PartialEq] but do not bound any generic. Docs are atframe_support::PartialEqNoBound. - Derive [
Debug], ifstdis enabled it usesframe_support::DebugNoBound, ifstdis not enabled it just returns"<wasm:stripped>". This behaviour is useful to prevent bloating the runtime WASM blob from unneeded code.