Trait libreda_db::netlist::traits::CircuitRef[][src]

pub trait CircuitRef {
    type N: NetlistBase;
    fn id(&self) -> <Self::N as NetlistBase>::CircuitId;
fn name(&self) -> <Self::N as NetlistBase>::NameType;
fn net_zero(&self) -> <Self::N as NetlistBase>::NetId;
fn net_one(&self) -> <Self::N as NetlistBase>::NetId; }

A reference to a circuit.

Associated Types

type N: NetlistBase[src]

Netlist type.

Loading content...

Required methods

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

Get the ID of this circuit.

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

Get the name of the circuit.

fn net_zero(&self) -> <Self::N as NetlistBase>::NetId[src]

Get the net of the logical constant zero.

fn net_one(&self) -> <Self::N as NetlistBase>::NetId[src]

Get the net of the logical constant one.

Loading content...

Implementors

impl<'a, N: NetlistBase> CircuitRef for DefaultCircuitRef<'a, N>[src]

type N = N

Loading content...