Struct tskit::bindings::tsk_tree_t__bindgen_ty_1
source · #[repr(C)]pub struct tsk_tree_t__bindgen_ty_1 {
pub left: f64,
pub right: f64,
}
Expand description
@brief Left and right coordinates of the genomic interval that this tree covers. The left coordinate is inclusive and the right coordinate exclusive.
@rst
Example:
.. code-block:: c
tsk_tree_t tree; int ret; // initialise etc ret = tsk_tree_first(&tree); // Check for error assert(ret == TSK_TREE_OK); printf(“Coordinates covered by first tree are left=%f, right=%f\n”, tree.interval.left, tree.interval.right);
@endrst
Fields§
§left: f64
§right: f64
Trait Implementations§
source§impl Clone for tsk_tree_t__bindgen_ty_1
impl Clone for tsk_tree_t__bindgen_ty_1
source§fn clone(&self) -> tsk_tree_t__bindgen_ty_1
fn clone(&self) -> tsk_tree_t__bindgen_ty_1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more