Struct tskit::bindings::tsk_ld_calc_t
source · #[repr(C)]pub struct tsk_ld_calc_t {
pub tree_sequence: *const tsk_treeseq_t,
pub focal_site: tsk_site_t,
pub total_samples: tsk_size_t,
pub focal_samples: tsk_size_t,
pub max_distance: f64,
pub max_sites: tsk_size_t,
pub tree: tsk_tree_t,
pub sample_buffer: *mut tsk_id_t,
pub result: *mut f64,
pub result_length: tsk_size_t,
}
Fields
tree_sequence: *const tsk_treeseq_t
focal_site: tsk_site_t
total_samples: tsk_size_t
focal_samples: tsk_size_t
max_distance: f64
max_sites: tsk_size_t
tree: tsk_tree_t
sample_buffer: *mut tsk_id_t
result: *mut f64
result_length: tsk_size_t
Trait Implementations
sourceimpl Clone for tsk_ld_calc_t
impl Clone for tsk_ld_calc_t
sourcefn clone(&self) -> tsk_ld_calc_t
fn clone(&self) -> tsk_ld_calc_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for tsk_ld_calc_t
impl Debug for tsk_ld_calc_t
impl Copy for tsk_ld_calc_t
Auto Trait Implementations
impl RefUnwindSafe for tsk_ld_calc_t
impl !Send for tsk_ld_calc_t
impl !Sync for tsk_ld_calc_t
impl Unpin for tsk_ld_calc_t
impl UnwindSafe for tsk_ld_calc_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more