Trait noodles_csi::io::IndexedRecord
source · 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
.