/// Write a given BED record.
Write a given BED record.
Write a given BED record .
pub fn write(&mut self, record: &Record) -> csv::Result<()> {
        if record.aux.is_empty() {
            self.inner
                .serialize(&(&record.chrom, record.start, record.end))
        } else {
            self.inner
                .serialize(&(&record.chrom, record.start, record.end, &record.aux))
        }
    }
pub fn write ( & mut self , record : & Record ) -> csv :: Result < ( ) > { if record . aux . is_empty ( ) { self . inner . serialize ( & ( & record . chrom , record . start , record . end ) ) } else { self . inner . serialize ( & ( & record . chrom , record . start , record . end , & record . aux ) ) } }
Write a given BED record.
Write a given BED record .
&mut self
record
&Record