pub unsafe extern "C" fn tsk_treeseq_get_migration(
    self_: *const tsk_treeseq_t,
    index: tsk_id_t,
    migration: *mut tsk_migration_t
) -> c_int
Expand description

@brief Get a edge by its index

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