pub unsafe extern "C" fn tsk_treeseq_get_site(
    self_: *const tsk_treeseq_t,
    index: tsk_id_t,
    site: *mut tsk_site_t
) -> c_int
Expand description

@brief Get a site by its index

@rst Copies a site from this tree sequence to the specified destination. @endrst @param self A pointer to a tsk_treeseq_t object. @param index The site index to copy @param site A pointer to a tsk_site_t object. @return Return 0 on success or a negative value on failure.