Struct noodles_fasta::io::indexed_reader::IndexedReader
source · pub struct IndexedReader<R> { /* private fields */ }
Expand description
An indexed FASTA reader.
Implementations§
source§impl<R> IndexedReader<R>where
R: BufRead,
impl<R> IndexedReader<R>where
R: BufRead,
sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Returns the underlying reader.
sourcepub fn read_definition(&mut self, buf: &mut String) -> Result<usize>
pub fn read_definition(&mut self, buf: &mut String) -> Result<usize>
Reads a raw definition line.
Auto Trait Implementations§
impl<R> Freeze for IndexedReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for IndexedReader<R>where
R: RefUnwindSafe,
impl<R> Send for IndexedReader<R>where
R: Send,
impl<R> Sync for IndexedReader<R>where
R: Sync,
impl<R> Unpin for IndexedReader<R>where
R: Unpin,
impl<R> UnwindSafe for IndexedReader<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