Trait substrate::schematic::ExportsNestedData
source · pub trait ExportsNestedData: Block {
type NestedData: NestedData;
}
Expand description
A block that exports nodes from its schematic.
All blocks that have a schematic implementation must export nodes.
Required Associated Types§
sourcetype NestedData: NestedData
type NestedData: NestedData
Extra schematic data to be stored with the block’s generated cell.
When the block is instantiated, all contained data will be nested within that instance.
Object Safety§
This trait is not object safe.