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§
sourcefn pin_ref(&self, pin: &Self::PinId) -> PinRef<'_, Self>
fn pin_ref(&self, pin: &Self::PinId) -> PinRef<'_, Self>
Get a reference to a pin from a pin ID.
sourcefn pin_instance_ref(&self, id: &Self::PinInstId) -> PinInstRef<'_, Self>
fn pin_instance_ref(&self, id: &Self::PinInstId) -> PinInstRef<'_, Self>
Get a reference to a pin instance.
sourcefn terminal_ref(&self, t: &TerminalId<Self>) -> TerminalRef<'_, Self>
fn terminal_ref(&self, t: &TerminalId<Self>) -> TerminalRef<'_, Self>
Get a reference to a terminal.