pub struct FastaReader<R: BufRead> { /* private fields */ }Expand description
FASTA file reader
Implementations§
Source§impl FastaReader<BufReader<File>>
impl FastaReader<BufReader<File>>
Trait Implementations§
Source§impl<R: BufRead> GenomicReader for FastaReader<R>
impl<R: BufRead> GenomicReader for FastaReader<R>
Source§impl<R: BufRead> GenomicRecordIterator for FastaReader<R>
impl<R: BufRead> GenomicRecordIterator for FastaReader<R>
Source§type Record = FastaRecord
type Record = FastaRecord
The record type yielded by this iterator
Source§fn next_record(&mut self) -> Result<Option<Self::Record>>
fn next_record(&mut self) -> Result<Option<Self::Record>>
Advance to the next record Read more
Auto Trait Implementations§
impl<R> Freeze for FastaReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for FastaReader<R>where
R: RefUnwindSafe,
impl<R> Send for FastaReader<R>where
R: Send,
impl<R> Sync for FastaReader<R>where
R: Sync,
impl<R> Unpin for FastaReader<R>where
R: Unpin,
impl<R> UnsafeUnpin for FastaReader<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for FastaReader<R>where
R: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more