Struct tskit::bindings::tsk_migration_table_t
source · #[repr(C)]pub struct tsk_migration_table_t {Show 16 fields
pub num_rows: tsk_size_t,
pub max_rows: tsk_size_t,
pub max_rows_increment: tsk_size_t,
pub metadata_length: tsk_size_t,
pub max_metadata_length: tsk_size_t,
pub max_metadata_length_increment: tsk_size_t,
pub metadata_schema_length: tsk_size_t,
pub source: *mut tsk_id_t,
pub dest: *mut tsk_id_t,
pub node: *mut tsk_id_t,
pub left: *mut f64,
pub right: *mut f64,
pub time: *mut f64,
pub metadata: *mut c_char,
pub metadata_offset: *mut tsk_size_t,
pub metadata_schema: *mut c_char,
}
Expand description
@brief The migration table.
@rst
See the migration :ref:table definition <sec_migration_table_definition>
for
details of the columns in this table.
@endrst
Fields
num_rows: tsk_size_t
@brief The number of rows in this table.
max_rows: tsk_size_t
max_rows_increment: tsk_size_t
metadata_length: tsk_size_t
@brief The total length of the metadata column.
max_metadata_length: tsk_size_t
max_metadata_length_increment: tsk_size_t
metadata_schema_length: tsk_size_t
source: *mut tsk_id_t
@brief The source column.
dest: *mut tsk_id_t
@brief The dest column.
node: *mut tsk_id_t
@brief The node column.
left: *mut f64
@brief The left column.
right: *mut f64
@brief The right column.
time: *mut f64
@brief The time column.
metadata: *mut c_char
@brief The metadata column.
metadata_offset: *mut tsk_size_t
@brief The metadata_offset column.
metadata_schema: *mut c_char
@brief The metadata schema
Trait Implementations
sourceimpl Clone for tsk_migration_table_t
impl Clone for tsk_migration_table_t
sourcefn clone(&self) -> tsk_migration_table_t
fn clone(&self) -> tsk_migration_table_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for tsk_migration_table_t
impl Debug for tsk_migration_table_t
impl Copy for tsk_migration_table_t
Auto Trait Implementations
impl RefUnwindSafe for tsk_migration_table_t
impl !Send for tsk_migration_table_t
impl !Sync for tsk_migration_table_t
impl Unpin for tsk_migration_table_t
impl UnwindSafe for tsk_migration_table_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more