Struct tskit::bindings::tsk_edge_t[][src]

#[repr(C)]pub struct tsk_edge_t {
    pub id: tsk_id_t,
    pub parent: tsk_id_t,
    pub child: tsk_id_t,
    pub left: f64,
    pub right: f64,
    pub metadata: *const c_char,
    pub metadata_length: tsk_size_t,
}

@brief A single edge defined by a row in the edge table.

@rst See the :ref:data model <sec_data_model_definitions> section for the definition of an edge and its properties. @endrst

Fields

id: tsk_id_t

@brief Non-negative ID value corresponding to table row.

parent: tsk_id_t

@brief Parent node ID.

child: tsk_id_t

@brief Child node ID.

left: f64

@brief Left coordinate.

right: f64

@brief Right coordinate.

metadata: *const c_char

@brief Metadata.

metadata_length: tsk_size_t

@brief Size of the metadata in bytes.

Trait Implementations

impl Clone for tsk_edge_t[src]

impl Copy for tsk_edge_t[src]

impl Debug for tsk_edge_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.