#[repr(C)]
pub struct _tsk_ls_hmm_t {
Show 31 fields pub tree_sequence: *mut tsk_treeseq_t, pub recombination_rate: *mut f64, pub mutation_rate: *mut f64, pub alleles: *mut *mut *const c_char, pub precision: c_uint, pub num_alleles: *mut u32, pub num_samples: tsk_size_t, pub num_sites: tsk_size_t, pub num_nodes: tsk_size_t, pub tree: tsk_tree_t, pub diffs: tsk_diff_iter_t, pub parent: *mut tsk_id_t, pub transitions: *mut tsk_value_transition_t, pub transitions_copy: *mut tsk_value_transition_t, pub transition_stack: *mut tsk_transition_stack_t, pub transition_index: *mut tsk_id_t, pub transition_time_order: *mut tsk_argsort_t, pub num_transitions: tsk_size_t, pub max_transitions: tsk_size_t, pub values: *mut f64, pub num_values: tsk_size_t, pub max_values: tsk_size_t, pub max_parsimony_words: tsk_size_t, pub num_optimal_value_set_words: tsk_size_t, pub optimal_value_sets: *mut u64, pub transition_parent: *mut tsk_id_t, pub num_transition_samples: *mut tsk_size_t, pub allelic_state: *mut i32, pub next_probability: Option<unsafe extern "C" fn(arg1: *mut _tsk_ls_hmm_t, arg2: tsk_id_t, arg3: f64, arg4: bool, arg5: tsk_id_t, arg6: *mut f64) -> c_int>, pub compute_normalisation_factor: Option<unsafe extern "C" fn(arg1: *mut _tsk_ls_hmm_t) -> f64>, pub output: *mut c_void,
}

Fields§

§tree_sequence: *mut tsk_treeseq_t§recombination_rate: *mut f64§mutation_rate: *mut f64§alleles: *mut *mut *const c_char§precision: c_uint§num_alleles: *mut u32§num_samples: tsk_size_t§num_sites: tsk_size_t§num_nodes: tsk_size_t§tree: tsk_tree_t§diffs: tsk_diff_iter_t§parent: *mut tsk_id_t§transitions: *mut tsk_value_transition_t§transitions_copy: *mut tsk_value_transition_t§transition_stack: *mut tsk_transition_stack_t§transition_index: *mut tsk_id_t§transition_time_order: *mut tsk_argsort_t§num_transitions: tsk_size_t§max_transitions: tsk_size_t§values: *mut f64§num_values: tsk_size_t§max_values: tsk_size_t§max_parsimony_words: tsk_size_t§num_optimal_value_set_words: tsk_size_t§optimal_value_sets: *mut u64§transition_parent: *mut tsk_id_t§num_transition_samples: *mut tsk_size_t§allelic_state: *mut i32§next_probability: Option<unsafe extern "C" fn(arg1: *mut _tsk_ls_hmm_t, arg2: tsk_id_t, arg3: f64, arg4: bool, arg5: tsk_id_t, arg6: *mut f64) -> c_int>§compute_normalisation_factor: Option<unsafe extern "C" fn(arg1: *mut _tsk_ls_hmm_t) -> f64>§output: *mut c_void

Trait Implementations§

source§

impl Clone for _tsk_ls_hmm_t

source§

fn clone(&self) -> _tsk_ls_hmm_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for _tsk_ls_hmm_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for _tsk_ls_hmm_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> Free for T

source§

unsafe default fn free(ptr_ref: NonNull<T>)

Drops the content pointed by this pointer and frees it. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.