Struct tskit::bindings::tsk_population_t
source · #[repr(C)]pub struct tsk_population_t {
pub id: tsk_id_t,
pub metadata: *const c_char,
pub metadata_length: tsk_size_t,
}
Expand description
@brief A single population defined by a row in the population table.
@rst
See the :ref:data model <sec_data_model_definitions>
section for the definition of
a population and its properties.
@endrst
Fields
id: tsk_id_t
@brief Non-negative ID value corresponding to table row.
metadata: *const c_char
@brief Metadata.
metadata_length: tsk_size_t
@brief Metadata length in bytes.
Trait Implementations
sourceimpl Clone for tsk_population_t
impl Clone for tsk_population_t
sourcefn clone(&self) -> tsk_population_t
fn clone(&self) -> tsk_population_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_population_t
impl Debug for tsk_population_t
impl Copy for tsk_population_t
Auto Trait Implementations
impl RefUnwindSafe for tsk_population_t
impl !Send for tsk_population_t
impl !Sync for tsk_population_t
impl Unpin for tsk_population_t
impl UnwindSafe for tsk_population_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