Trait noodles_vcf::variant::io::Write

source ·
pub trait Write {
    // Required methods
    fn write_variant_header(&mut self, header: &Header) -> Result<()>;
    fn write_variant_record(
        &mut self,
        header: &Header,
        record: &dyn Record,
    ) -> Result<()>;
}
Expand description

A variant format writer.

Required Methods§

source

fn write_variant_header(&mut self, header: &Header) -> Result<()>

Writes a VCF header.

source

fn write_variant_record( &mut self, header: &Header, record: &dyn Record, ) -> Result<()>

Writes a variant record.

Implementors§

source§

impl<W> Write for Writer<W>
where W: Write,