Struct tskit::PopulationTable[][src]

pub struct PopulationTable<'a> { /* fields omitted */ }
Expand description

An immutable view of site table.

These are not created directly. Instead, use TableCollection::populations to get a reference to an existing population table;

Implementations

Return the number of rows.

Return an iterator over rows of the table. The value of the iterator is PopulationTableRow.

Return row r of the table.

Parameters

  • r: the row id.

Errors

TskitError::IndexError if r is out of range.

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 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.