pub trait NetlistReferenceAccess: NetlistBase {
    // Provided methods
    fn pin_ref(&self, pin: &Self::PinId) -> PinRef<'_, Self> { ... }
    fn pin_instance_ref(&self, id: &Self::PinInstId) -> PinInstRef<'_, Self> { ... }
    fn net_ref(&self, net: &Self::NetId) -> NetRef<'_, Self> { ... }
    fn terminal_ref(&self, t: &TerminalId<Self>) -> TerminalRef<'_, Self> { ... }
}
Expand description

Trait that provides object-like read access to a hierarchical netlist structure and its elements.

Provided Methods§

source

fn pin_ref(&self, pin: &Self::PinId) -> PinRef<'_, Self>

Get a reference to a pin from a pin ID.

source

fn pin_instance_ref(&self, id: &Self::PinInstId) -> PinInstRef<'_, Self>

Get a reference to a pin instance.

source

fn net_ref(&self, net: &Self::NetId) -> NetRef<'_, Self>

Get a reference to a net.

source

fn terminal_ref(&self, t: &TerminalId<Self>) -> TerminalRef<'_, Self>

Get a reference to a terminal.

Implementors§