Struct bio::io::fasta::Reader [−][src]
pub struct Reader<R: Read> { /* fields omitted */ }
A FASTA reader.
Methods
impl Reader<File>
[src]
impl Reader<File>
impl<R: Read> Reader<R>
[src]
impl<R: Read> Reader<R>
pub fn new(reader: R) -> Self
[src]
pub fn new(reader: R) -> Self
Create a new Fasta reader given an instance of io::Read
.
pub fn read(&mut self, record: &mut Record) -> Result<()>
[src]
pub fn read(&mut self, record: &mut Record) -> Result<()>
Read next FASTA record into the given Record
.
ⓘImportant traits for Records<R>pub fn records(self) -> Records<R>
[src]
ⓘImportant traits for Records<R>
pub fn records(self) -> Records<R>
Return an iterator over the records of this Fasta file.