OutPort

OutPort#

class hugr.hugr.node_port.OutPort(node: Node, offset: int)[source]#

Bases: _Port, Wire

Outgoing port, defined by the node it belongs to and the port offset.

Methods

out_port

OutPort corresponding to this Wire.

Attributes

direction

node

offset

out_port() OutPort[source]#

OutPort corresponding to this Wire.