Struct tskit::bindings::tsk_node_t [−][src]
#[repr(C)]pub struct tsk_node_t {
pub id: tsk_id_t,
pub flags: tsk_flags_t,
pub time: f64,
pub population: tsk_id_t,
pub individual: tsk_id_t,
pub metadata: *const c_char,
pub metadata_length: tsk_size_t,
}
Expand description
@brief A single node defined by a row in the node table.
@rst
See the :ref:data model <sec_data_model_definitions>
section for the definition of
a node and its properties.
@endrst
Fields
id: tsk_id_t
@brief Non-negative ID value corresponding to table row.
flags: tsk_flags_t
@brief Bitwise flags.
time: f64
@brief Time.
population: tsk_id_t
@brief Population ID.
individual: tsk_id_t
@brief Individual ID.
metadata: *const c_char
@brief Metadata.
metadata_length: tsk_size_t
@brief Size of the metadata in bytes.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for tsk_node_t
impl !Send for tsk_node_t
impl !Sync for tsk_node_t
impl Unpin for tsk_node_t
impl UnwindSafe for tsk_node_t
Blanket Implementations
Mutably borrows from an owned value. Read more