pub struct IndexedFastaReader { /* private fields */ }Expand description
Reader for random access into an indexed FASTA file.
Implementations§
Source§impl IndexedFastaReader
impl IndexedFastaReader
Sourcepub fn new(fasta_path: &Path, index: FastaIndex) -> Result<Self>
pub fn new(fasta_path: &Path, index: FastaIndex) -> Result<Self>
Open a FASTA file with a pre-built index.
Sourcepub fn open(fasta_path: &Path) -> Result<Self>
pub fn open(fasta_path: &Path) -> Result<Self>
Open a FASTA file and automatically load its .fai sidecar index.
Auto Trait Implementations§
impl Freeze for IndexedFastaReader
impl RefUnwindSafe for IndexedFastaReader
impl Send for IndexedFastaReader
impl Sync for IndexedFastaReader
impl Unpin for IndexedFastaReader
impl UnsafeUnpin for IndexedFastaReader
impl UnwindSafe for IndexedFastaReader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more