Struct tskit::bindings::tsk_mutation_t [−][src]
#[repr(C)]pub struct tsk_mutation_t { pub id: tsk_id_t, pub site: tsk_id_t, pub node: tsk_id_t, pub parent: tsk_id_t, pub time: f64, pub derived_state: *const c_char, pub derived_state_length: tsk_size_t, pub metadata: *const c_char, pub metadata_length: tsk_size_t, }
@brief A single mutation defined by a row in the mutation table.
@rst
See the :ref:data model <sec_data_model_definitions>
section for the definition of
a mutation and its properties.
@endrst
Fields
id: tsk_id_t
@brief Non-negative ID value corresponding to table row.
site: tsk_id_t
@brief Site ID.
node: tsk_id_t
@brief Node ID.
parent: tsk_id_t
@brief Parent mutation ID.
time: f64
@brief Mutation time.
derived_state: *const c_char
@brief Derived state.
derived_state_length: tsk_size_t
@brief Size of the derived state in bytes.
metadata: *const c_char
@brief Metadata.
metadata_length: tsk_size_t
@brief Size of the metadata in bytes.
Trait Implementations
impl Clone for tsk_mutation_t
[src]
impl Clone for tsk_mutation_t
[src]fn clone(&self) -> tsk_mutation_t
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for tsk_mutation_t
[src]
impl Copy for tsk_mutation_t
[src]Auto Trait Implementations
impl RefUnwindSafe for tsk_mutation_t
impl RefUnwindSafe for tsk_mutation_t
impl !Send for tsk_mutation_t
impl !Send for tsk_mutation_t
impl !Sync for tsk_mutation_t
impl !Sync for tsk_mutation_t
impl Unpin for tsk_mutation_t
impl Unpin for tsk_mutation_t
impl UnwindSafe for tsk_mutation_t
impl UnwindSafe for tsk_mutation_t