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