pub trait HasTerminalView {
    type TerminalView: HasNestedView + Flatten<Node> + Send + Sync;

    // Required method
    fn terminal_view(
        cell: CellId,
        cell_io: &Self,
        instance: InstanceId,
        instance_io: &Self
    ) -> Self::TerminalView;
}
Expand description

A view of the terminals in an interface.

Required Associated Types§

source

type TerminalView: HasNestedView + Flatten<Node> + Send + Sync

A view of the terminals in an interface.

Required Methods§

source

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

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl HasTerminalView for ()

§

type TerminalView = ()

source§

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

source§

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

§

type TerminalView = <T as HasTerminalView>::TerminalView

source§

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

Implementors§