Struct bio::io::fastq::Reader
[−]
[src]
pub struct Reader<R: Read> { // some fields omitted }
A FastQ reader.
Methods
impl Reader<File>
[src]
impl<R: Read> Reader<R>
[src]
fn new(reader: R) -> Self
Read from a given io::Read
.
fn read(&mut self, record: &mut Record) -> Result<()>
Read into a given record. Returns an error if the record in incomplete or syntax is violated. The content of the record can be checked via the record object.
fn records(self) -> Records<R>
Return an iterator over the records of this FastQ file.