Trait libreda_pnr::db::CircuitInstRef[][src]

pub trait CircuitInstRef {
    type N: NetlistBase;
    pub fn id(&self) -> <Self::N as NetlistBase>::CircuitInstId;
pub fn name(&self) -> Option<<Self::N as NetlistBase>::NameType>; }

A reference to a circuit instance.

Associated Types

type N: NetlistBase[src]

Netlist type.

Loading content...

Required methods

pub fn id(&self) -> <Self::N as NetlistBase>::CircuitInstId[src]

Get the ID of this circuit.

pub fn name(&self) -> Option<<Self::N as NetlistBase>::NameType>[src]

Get the name of the circuit.

Loading content...

Implementors

impl<'a, N> CircuitInstRef for DefaultCircuitInstRef<'a, N> where
    N: NetlistBase
[src]

type N = N

Loading content...