MCPcopy Create free account
hub / github.com/douchuan/algorithm / child_count

Method child_count

src/tree/binary/node.rs:219–221  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

217 }
218
219 pub fn child_count(&self) -> usize {
220 self.node.map_or(0, Node::children_count)
221 }
222
223 pub fn is_some(&self) -> bool {
224 self.node.is_some()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected