pub trait GraphRewrite<N, E> { // Required method fn apply(&self, host: &Graph<N, E>) -> Option<Graph<N, E>>; }
A trait for “apply‐once” graph‐rewrites.
Try to apply this rewrite to host.
host