pub trait NodesIter {
type Node;
// Required method
fn nodes(&self) -> impl Iterator<Item = Self::Node> + '_;
}
Expand description
Iterate over nodes within a graph view (Hugr, SiblingSubgraph, etc).
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.