pub trait HierarchyView<'a>: RootTagged + Sized {
// Required method
fn try_new(hugr: &'a impl HugrView, root: Node) -> Result<Self, HugrError>;
}
Expand description
A common trait for views of a HUGR hierarchical subgraph.
Required Methods§
Object Safety§
This trait is not object safe.