Struct tskit::bindings::_tsk_table_sorter_t [−][src]
#[repr(C)]pub struct _tsk_table_sorter_t {
pub tables: *mut tsk_table_collection_t,
pub sort_edges: Option<unsafe extern "C" fn(self_: *mut _tsk_table_sorter_t, start: tsk_size_t) -> c_int>,
pub sort_mutations: Option<unsafe extern "C" fn(self_: *mut _tsk_table_sorter_t) -> c_int>,
pub sort_individuals: Option<unsafe extern "C" fn(self_: *mut _tsk_table_sorter_t) -> c_int>,
pub user_data: *mut c_void,
pub site_id_map: *mut tsk_id_t,
}
Expand description
@brief Low-level table sorting method.
Fields
tables: *mut tsk_table_collection_t
@brief The input tables that are being sorted.
sort_edges: Option<unsafe extern "C" fn(self_: *mut _tsk_table_sorter_t, start: tsk_size_t) -> c_int>
@brief The edge sorting function. If set to NULL, edges are not sorted.
sort_mutations: Option<unsafe extern "C" fn(self_: *mut _tsk_table_sorter_t) -> c_int>
@brief The mutation sorting function.
sort_individuals: Option<unsafe extern "C" fn(self_: *mut _tsk_table_sorter_t) -> c_int>
@brief The individual sorting function.
user_data: *mut c_void
@brief An opaque pointer for use by client code
site_id_map: *mut tsk_id_t
@brief Mapping from input site IDs to output site IDs
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for _tsk_table_sorter_t
impl !Send for _tsk_table_sorter_t
impl !Sync for _tsk_table_sorter_t
impl Unpin for _tsk_table_sorter_t
impl UnwindSafe for _tsk_table_sorter_t
Blanket Implementations
Mutably borrows from an owned value. Read more