pub trait IndexedRecord {
// Required methods
fn indexed_reference_sequence_name(&self) -> &str;
fn indexed_start_position(&self) -> Position;
fn indexed_end_position(&self) -> Position;
// Provided method
fn indexed_interval(&self) -> Interval { ... }
}
Expand description
An indexed record.
Required Methods§
Sourcefn indexed_reference_sequence_name(&self) -> &str
fn indexed_reference_sequence_name(&self) -> &str
Returns the reference sequence name.
Sourcefn indexed_start_position(&self) -> Position
fn indexed_start_position(&self) -> Position
Returns the start position.
Sourcefn indexed_end_position(&self) -> Position
fn indexed_end_position(&self) -> Position
Returns the end position.
Provided Methods§
Sourcefn indexed_interval(&self) -> Interval
fn indexed_interval(&self) -> Interval
Returns the start and end positions as an Interval
.