Skip to main content

left_child

Function left_child 

Source
pub fn left_child(index: usize) -> usize
Expand description

Returns index for the left child of index. Unlike parent_for, this method is unchecked. One must track how many nodes are actually in the tree and react accordingly.