Trait substrate::schematic::HasNestedView
source · pub trait HasNestedView {
type NestedView: Send + Sync;
// Required method
fn nested_view(&self, parent: &InstancePath) -> Self::NestedView;
}
Expand description
An object that can be nested in the data of a cell.
Stores a path of instances up to the current cell using an InstancePath
.
Required Associated Types§
sourcetype NestedView: Send + Sync
type NestedView: Send + Sync
A view of the nested object.
Required Methods§
sourcefn nested_view(&self, parent: &InstancePath) -> Self::NestedView
fn nested_view(&self, parent: &InstancePath) -> Self::NestedView
Creates a nested view of the object given a parent node.