Expand description
Definitions for the core types used in the Hugr.
These types are re-exported in the root of the crate.
Structs§
- IncomingPort 
- A port in the incoming direction.
- Node
- A handle to a node in the HUGR.
- OutgoingPort 
- A port in the outgoing direction.
- Port
- A handle to a port for a node in the HUGR.
- Wire
- A DataFlowwire, defined by a Value-kind output port of a node
Enums§
- CircuitUnit 
- Enum for uniquely identifying the origin of linear wires in a circuit-like dataflow region.
- Either
- The enum Eitherwith variantsLeftandRightis a general purpose sum type with two cases.
- Visibility
- Marks FuncDefns and FuncDecls as to whether they should be considered for linking.
Traits§
- HugrNode 
- A trait for nodes in the Hugr.
- NodeIndex 
- A trait for getting the index of a node.
- PortIndex 
- A trait for getting the undirected index of a port.
Type Aliases§
- Direction
- The direction of a port.