noodles_csi::io

Trait 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§

Source

fn indexed_reference_sequence_name(&self) -> &str

Returns the reference sequence name.

Source

fn indexed_start_position(&self) -> Position

Returns the start position.

Source

fn indexed_end_position(&self) -> Position

Returns the end position.

Provided Methods§

Source

fn indexed_interval(&self) -> Interval

Returns the start and end positions as an Interval.

Implementors§