Struct tskit::EdgeTable [−][src]
pub struct EdgeTable<'a> { /* fields omitted */ }
Expand description
An immutable view of an edge table.
These are not created directly.
Instead, use TableCollection::edges
to get a reference to an existing edge table;
Implementations
Return the number of rows
Return the parent
value from row row
of the table.
Errors
Will return IndexError
if row
is out of range.
Return the child
value from row row
of the table.
Errors
Will return IndexError
if row
is out of range.
Return the left
value from row row
of the table.
Errors
Will return IndexError
if row
is out of range.
Return the right
value from row row
of the table.
Errors
Will return IndexError
if row
is out of range.
Return an iterator over rows of the table.
The value of the iterator is EdgeTableRow
.
Return row r
of the table.
Parameters
r
: the row id.
Errors
TskitError::IndexError
if r
is out of range.