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§

source

type NestedView: Send + Sync

A view of the nested object.

Required Methods§

source

fn nested_view(&self, parent: &InstancePath) -> Self::NestedView

Creates a nested view of the object given a parent node.

Implementations on Foreign Types§

source§

impl HasNestedView for ()

§

type NestedView = ()

source§

fn nested_view(&self, _parent: &InstancePath) -> Self::NestedView

source§

impl<T> HasNestedView for &T
where T: HasNestedView,

source§

impl<T: HasNestedView> HasNestedView for Option<T>

source§

impl<T: HasNestedView> HasNestedView for Vec<T>

Implementors§

source§

impl HasNestedView for NestedNode

source§

impl HasNestedView for NestedTerminal

source§

impl HasNestedView for Node

source§

impl HasNestedView for Terminal

source§

impl HasNestedView for DiffPairSchematic

source§

impl HasNestedView for DiffPairTerminalView

source§

impl HasNestedView for MosIoSchematic

source§

impl HasNestedView for MosIoTerminalView

source§

impl HasNestedView for PowerIoSchematic

source§

impl HasNestedView for PowerIoTerminalView

source§

impl HasNestedView for TestbenchIoSchematic

source§

impl HasNestedView for TestbenchIoTerminalView

source§

impl HasNestedView for TwoTerminalIoSchematic

source§

impl HasNestedView for TwoTerminalIoTerminalView

source§

impl<B: ExportsNestedData> HasNestedView for Instance<B>

source§

impl<B: ExportsNestedData> HasNestedView for NestedInstance<B>

source§

impl<T: HasNestedView> HasNestedView for ArrayData<T>

source§

impl<T: HasNestedView> HasNestedView for Flipped<T>

source§

impl<T: HasNestedView> HasNestedView for InOut<T>

source§

impl<T: HasNestedView> HasNestedView for Input<T>

source§

impl<T: HasNestedView> HasNestedView for Output<T>