Struct fastq::RefRecord
[−]
[src]
pub struct RefRecord<'a> { /* fields omitted */ }
A fastq record that borrows data from an array.
Methods
impl<'a> RefRecord<'a>
[src]
fn to_owned_record(&self) -> OwnedRecord
Copy the borrowed data array and return an owned record.
Trait Implementations
impl<'a> Debug for RefRecord<'a>
[src]
impl<'a> Record for RefRecord<'a>
[src]
fn head(&self) -> &[u8]
Return the id-line of the record as byte slice
fn seq(&self) -> &[u8]
Return the fastq sequence as byte slice
fn qual(&self) -> &[u8]
Return the quality of the bases as byte slice
fn write<W: Write>(&self, writer: &mut W) -> Result<usize>
Write the record to a writer
fn validate_dna(&self) -> bool
Return true if the sequence contains only A, C, T and G. Read more
fn validate_dnan(&self) -> bool
Return true if the sequence contains only A, C, T, G and N. Read more