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