pub trait HardwareType: FlatLen + HasNameTree + Clone {
    type Bundle: IsBundle;
    type Builder: BundleBuilder<Self::Bundle>;

    // Required method
    fn builder(&self) -> Self::Builder;
}
Expand description

A layout hardware type.

Required Associated Types§

source

type Bundle: IsBundle

The Rust type representing layout instances of this hardware type.

source

type Builder: BundleBuilder<Self::Bundle>

A builder for creating HardwareType::Bundle.

Required Methods§

source

fn builder(&self) -> Self::Builder

Instantiates a schematic data struct with populated nodes.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl HardwareType for ()

§

type Bundle = ()

§

type Builder = ()

source§

fn builder(&self)

Implementors§

source§

impl HardwareType for DiffPair

source§

impl HardwareType for MosIo

source§

impl HardwareType for PowerIo

source§

impl HardwareType for Signal

source§

impl HardwareType for TestbenchIo

source§

impl HardwareType for TwoTerminalIo

source§

impl HardwareType for Port

source§

impl HardwareType for ShapePort

source§

impl<T> HardwareType for Flipped<T>
where T: HardwareType,

source§

impl<T> HardwareType for InOut<T>
where T: HardwareType,

source§

impl<T> HardwareType for Input<T>
where T: HardwareType,

source§

impl<T> HardwareType for Output<T>
where T: HardwareType,

source§

impl<T: HardwareType> HardwareType for Array<T>