#[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, pub edge: tsk_id_t, }
Expand description

@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.

edge: tsk_id_t

@brief The ID of the edge that this mutation lies on, or TSK_NULL if there is no corresponding edge.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Drops the content pointed by this pointer and frees it. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.