Struct tskit::bindings::tsk_site_table_t[][src]

#[repr(C)]
pub struct tsk_site_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 ancestral_state_length: tsk_size_t, pub max_ancestral_state_length: tsk_size_t, pub max_ancestral_state_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 position: *mut f64, pub ancestral_state: *mut c_char, pub ancestral_state_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 site table.

@rst See the site :ref:table definition <sec_site_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_tmax_rows_increment: tsk_size_tancestral_state_length: tsk_size_tmax_ancestral_state_length: tsk_size_tmax_ancestral_state_length_increment: tsk_size_tmetadata_length: tsk_size_t

@brief The total length of the metadata column.

max_metadata_length: tsk_size_tmax_metadata_length_increment: tsk_size_tmetadata_schema_length: tsk_size_tposition: *mut f64

@brief The position column.

ancestral_state: *mut c_char

@brief The ancestral_state column.

ancestral_state_offset: *mut tsk_size_t

@brief The ancestral_state_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

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.