Struct tskit::bindings::tsk_migration_t [−][src]
#[repr(C)]pub struct tsk_migration_t {
pub id: tsk_id_t,
pub source: tsk_id_t,
pub dest: tsk_id_t,
pub node: tsk_id_t,
pub left: f64,
pub right: f64,
pub time: f64,
pub metadata: *const c_char,
pub metadata_length: tsk_size_t,
}
Expand description
@brief A single migration defined by a row in the migration table.
@rst
See the :ref:data model <sec_data_model_definitions>
section for the definition of
a migration and its properties.
@endrst
Fields
id: tsk_id_t
@brief Non-negative ID value corresponding to table row.
source: tsk_id_t
@brief Source population ID.
dest: tsk_id_t
@brief Destination population ID.
node: tsk_id_t
@brief Node ID.
left: f64
@brief Left coordinate.
right: f64
@brief Right coordinate.
time: f64
@brief Time.
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_migration_t
impl !Send for tsk_migration_t
impl !Sync for tsk_migration_t
impl Unpin for tsk_migration_t
impl UnwindSafe for tsk_migration_t
Blanket Implementations
Mutably borrows from an owned value. Read more