substrate::types

Derive Macro BundleKind

Source
#[derive(BundleKind)]
{
    // Attributes available to this derive:
    #[substrate]
}
Expand description

Derives BundleKind for a struct.

Creates a struct representing relevant views of the bundle kind (called a Bundle). Relevant schematic and layout traits are automatically implemented using this additional struct.