Struct noodles_fastq::Record [−][src]
pub struct Record { /* fields omitted */ }
Expand description
A FASTQ record.
Implementations
Creates a FASTQ record.
Examples
use noodles_fastq::Record;
let record = Record::new("r0", "AGCT", "NDLS");
👎 Deprecated since 0.2.0: Use Record::name
instead.
👎 Deprecated since 0.2.0:
Use Record::name
instead.
Returns the name of the record.
Examples
use noodles_fastq::Record;
let record = Record::new("r0", "AGCT", "NDLS");
assert_eq!(record.read_name(), b"r0");
Returns the name of the record.
Examples
use noodles_fastq::Record;
let record = Record::new("r0", "AGCT", "NDLS");
assert_eq!(record.name(), b"r0");
Returns the sequence of the record.
Examples
use noodles_fastq::Record;
let record = Record::new("r0", "AGCT", "NDLS");
assert_eq!(record.sequence(), b"AGCT");
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Record
impl UnwindSafe for Record
Blanket Implementations
Mutably borrows from an owned value. Read more