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, }

@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

impl Clone for _tsk_table_sorter_t[src]

impl Copy for _tsk_table_sorter_t[src]

impl Debug for _tsk_table_sorter_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.