substrate::types::schematic

Trait SchematicBundleKind

Source
pub trait SchematicBundleKind:
    BundleKind
    + HasNodeBundle
    + HasTerminalBundle {
    // Required method
    fn terminal_view(
        cell: CellId,
        cell_io: &NodeBundle<Self>,
        instance: InstanceId,
        instance_io: &NodeBundle<Self>,
    ) -> TerminalBundle<Self>;
}
Expand description

A schematic bundle kind.

Required Methods§

Source

fn terminal_view( cell: CellId, cell_io: &NodeBundle<Self>, instance: InstanceId, instance_io: &NodeBundle<Self>, ) -> TerminalBundle<Self>

Creates a terminal view of the object given a parent node, the cell IO, and the instance IO.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SchematicBundleKind for ()

Source§

fn terminal_view( _cell: CellId, _cell_io: &NodeBundle<Self>, _instance: InstanceId, _instance_io: &NodeBundle<Self>, ) -> TerminalBundle<Self>

Implementors§

Source§

impl SchematicBundleKind for DiffPairKind
where InOut<Signal>: HasBundleKind + HasSchematicBundleKindViews,

Source§

impl SchematicBundleKind for MosIoKind
where InOut<Signal>: HasBundleKind + HasSchematicBundleKindViews, Input<Signal>: HasBundleKind + HasSchematicBundleKindViews,

Source§

impl SchematicBundleKind for PowerIoKind
where InOut<Signal>: HasBundleKind + HasSchematicBundleKindViews,

Source§

impl SchematicBundleKind for Signal

Source§

impl SchematicBundleKind for TestbenchIoKind
where InOut<Signal>: HasBundleKind + HasSchematicBundleKindViews,

Source§

impl SchematicBundleKind for TwoTerminalIoKind
where InOut<Signal>: HasBundleKind + HasSchematicBundleKindViews,

Source§

impl<T: SchematicBundleKind> SchematicBundleKind for Array<T>