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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.