[][src]Function bonsai::root_from_depth

pub const fn root_from_depth(index: u64, depth: u64) -> u64

Returns the subtree root for index assuming the tree is depth deep.