pub struct IndexedReader<R> { /* private fields */ }
Expand description

An indexed reader adapter.

Implementations

Creates an indexed reader adapter builder for paths on a filesystem.

Examples
use noodles_fasta::repository::adapters::IndexedReader;
let builder = IndexedReader::builder();

Creates an indexed reader adapter.

Examples
use noodles_fasta::{self as fasta, fai, repository::adapters::IndexedReader};
let reader = fasta::Reader::new(io::empty());
let index = fai::Index::default();
let adapter = IndexedReader::new(reader, index);

Trait Implementations

Returns the record with the given name.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.