Struct tskit::bindings::tsk_tree_t__bindgen_ty_1
source · 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; ret = tsk_tree_first(&tree); 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
sourceimpl Clone for tsk_tree_t__bindgen_ty_1
impl Clone for tsk_tree_t__bindgen_ty_1
sourcefn 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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for tsk_tree_t__bindgen_ty_1
impl Debug for tsk_tree_t__bindgen_ty_1
impl Copy for tsk_tree_t__bindgen_ty_1
Auto Trait Implementations
impl RefUnwindSafe for tsk_tree_t__bindgen_ty_1
impl Send for tsk_tree_t__bindgen_ty_1
impl Sync for tsk_tree_t__bindgen_ty_1
impl Unpin for tsk_tree_t__bindgen_ty_1
impl UnwindSafe for tsk_tree_t__bindgen_ty_1
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