Struct tskit::bindings::tsk_individual_table_t
source · #[repr(C)]pub struct tsk_individual_table_t {Show 21 fields
pub num_rows: tsk_size_t,
pub max_rows: tsk_size_t,
pub max_rows_increment: tsk_size_t,
pub location_length: tsk_size_t,
pub max_location_length: tsk_size_t,
pub max_location_length_increment: tsk_size_t,
pub parents_length: tsk_size_t,
pub max_parents_length: tsk_size_t,
pub max_parents_length_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 flags: *mut tsk_flags_t,
pub location: *mut f64,
pub location_offset: *mut tsk_size_t,
pub parents: *mut tsk_id_t,
pub parents_offset: *mut tsk_size_t,
pub metadata: *mut c_char,
pub metadata_offset: *mut tsk_size_t,
pub metadata_schema: *mut c_char,
}
Expand description
@brief The individual table.
@rst
See the individual :ref:table definition <sec_individual_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
location_length: tsk_size_t
@brief The total length of the location column.
max_location_length: tsk_size_t
max_location_length_increment: tsk_size_t
parents_length: tsk_size_t
@brief The total length of the parent column.
max_parents_length: tsk_size_t
max_parents_length_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
flags: *mut tsk_flags_t
@brief The flags column.
location: *mut f64
@brief The location column.
location_offset: *mut tsk_size_t
@brief The location_offset column.
parents: *mut tsk_id_t
@brief The parents column.
parents_offset: *mut tsk_size_t
@brief The parents_offset 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_individual_table_t
impl Clone for tsk_individual_table_t
sourcefn clone(&self) -> tsk_individual_table_t
fn clone(&self) -> tsk_individual_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_individual_table_t
impl Debug for tsk_individual_table_t
impl Copy for tsk_individual_table_t
Auto Trait Implementations
impl RefUnwindSafe for tsk_individual_table_t
impl !Send for tsk_individual_table_t
impl !Sync for tsk_individual_table_t
impl Unpin for tsk_individual_table_t
impl UnwindSafe for tsk_individual_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