Module simple_replace

Source
Expand description

Implementation of the SimpleReplace operation.

Re-exports§

pub use crate::hugr::views::sibling_subgraph::InvalidReplacement;

Modules§

serial
Serialisation of SimpleReplacement

Structs§

Outcome
Result of applying a SimpleReplacement.
SimpleReplacement
Specification of a simple replacement operation.

Enums§

BoundaryMode
In SimpleReplacement::replacement, IO nodes marking the boundary will not be valid nodes in the host after the replacement is applied.
SimpleReplacementError
Error from a SimpleReplacement operation.