pub trait Annotations<N: Idx> {
type Ann: Annotation;
type SccIdx: Idx + Ord;
// Required methods
fn new(&self, element: N) -> Self::Ann;
fn annotate_scc(&mut self, scc: Self::SccIdx, annotation: Self::Ann);
}
Expand description
An accumulator for annotations.