Expand description
The Hugr data structure, and its basic component handles.
Re-exports§
pub use self::validate::ValidationError;
pub use patch::Patch;
pub use patch::SimpleReplacement;
pub use patch::SimpleReplacementError;
pub use self::views::HugrView;
pub use crate::ops::DEFAULT_OPTYPE;
pub use crate::ops::OpType;
Modules§
- hugrmut
- Low-level interface for modifying a HUGR.
- internal
- Internal traits, not exposed in the public
hugr
API. - patch
- Rewrite operations on the HUGR - replacement, outlining, etc.
- serialize
- Serialization definition for
Hugr
Hugr
:crate::hugr::Hugr
- validate
- HUGR invariant checks.
- views
- Read-only access into HUGR graphs and subgraphs.
Structs§
- Extension
Error - An error in the extension deltas.
- Hugr
- The Hugr data structure.
- Ident
List - A non-empty dot-separated list of valid identifiers
- Invalid
Identifier - Error indicating a string was not valid as an
IdentList
Enums§
- Hugr
Error - Errors that can occur while manipulating a Hugr.
Type Aliases§
- Node
Metadata - Arbitrary metadata entry for a node.
- Node
Metadata Map - The container of all the metadata entries for a node.