Get the number of children for a span. This includes both regular and extra children.
(&self, id: VertexId)
| 312 | /// |
| 313 | /// This includes both regular and extra children. |
| 314 | pub fn child_count(&self, id: VertexId) -> usize { |
| 315 | let v = &self.vertices[id.index()]; |
| 316 | v.n_children + v.extra.len() |
| 317 | } |
| 318 | |
| 319 | /// Add an extra child to a span. |
| 320 | /// |
no test coverage detected