1 2 3 4 5 6 7 8 9 10 11 12
#[derive(Debug, PartialEq)] pub enum WidthFirstTraversalNode<N, B> { Root(N), Node { /// Move to the next parent next: bool, /// The branch leading from the parent to the described node branch: B, /// Node data data: N, }, }