Function tskit::bindings::tsk_tree_get_num_roots
source · pub unsafe extern "C" fn tsk_tree_get_num_roots(
self_: *const tsk_tree_t
) -> tsk_size_t
Expand description
@brief Returns the number of roots in this tree.
@rst
See the :ref:sec_data_model_tree_roots
section for more information
on how the roots of a tree are defined.
@endrst
@param self A pointer to an initialised tsk_tree_t object. @return Returns the number roots in this tree.