[−][src]Function flat_tree::left_child
pub fn left_child(i: usize) -> Option<usize>
Returns only the left child of a node.
Examples
assert_eq!(flat_tree::left_child(0), None); assert_eq!(flat_tree::left_child(1), Some(0)); assert_eq!(flat_tree::left_child(3), Some(1));