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]
impl<'a> RefRecord<'a>
pub fn to_owned_record(&self) -> OwnedRecord
[src]
pub 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> Debug for RefRecord<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Record for RefRecord<'a>
[src]
impl<'a> Record for RefRecord<'a>
fn head(&self) -> &[u8]
[src]
fn head(&self) -> &[u8]
Return the id-line of the record as byte slice
fn seq(&self) -> &[u8]
[src]
fn seq(&self) -> &[u8]
Return the fastq sequence as byte slice
fn qual(&self) -> &[u8]
[src]
fn qual(&self) -> &[u8]
Return the quality of the bases as byte slice
fn write<W: Write>(&self, writer: &mut W) -> Result<usize>
[src]
fn write<W: Write>(&self, writer: &mut W) -> Result<usize>
Write the record to a writer
fn validate_dna(&self) -> bool
[src]
fn validate_dna(&self) -> bool
Return true if the sequence contains only A, C, T and G. Read more
fn validate_dnan(&self) -> bool
[src]
fn validate_dnan(&self) -> bool
Return true if the sequence contains only A, C, T, G and N. Read more