Expand description
The Hugr data structure, and its basic component handles.
Re-exports§
pub use self::validate::ValidationError;
pub use rewrite::Rewrite;
pub use rewrite::SimpleReplacement;
pub use rewrite::SimpleReplacementError;
pub use self::views::HugrView;
pub use self::views::RootTagged;
Modules§
- Low-level interface for modifying a HUGR.
- Internal traits, not exposed in the public
hugr
API. - Rewrite operations on the HUGR - replacement, outlining, etc.
- HUGR invariant checks.
- Read-only access into HUGR graphs and subgraphs.
Structs§
- The Hugr data structure.
- A non-empty dot-separated list of valid identifiers
- Error indicating a string was not valid as an IdentList
- The type of a node on a graph. In addition to the
OpType
, it also describes the extensions inferred to be used by the node.
Enums§
- Errors that can occur while manipulating a Hugr.
Constants§
- The default NodeType, with open extensions
Type Aliases§
- Arbitrary metadata entry for a node.
- The container of all the metadata entries for a node.