Struct tskit::provenance::ProvenanceTable[][src]

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

An immutable view of a provenance table.

These are not created directly. Instead, use Provenance::provenances to get a reference to an existing node table;

Notes

  • The type is enabled by the "provenance" feature.

Implementations

Return the number of rows

Get the ISO-formatted time stamp for row row.

Errors

TskitError::IndexError if r is out of range.

Get the provenance record for row row.

Errors

TskitError::IndexError if r is out of range.

Obtain a ProvenanceTableRow for row row.

Errors

TskitError::IndexError if r is out of range.

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

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.