noodles_vcf/variant/io/write.rs
use std::io;
use crate::{variant::Record, Header};
/// A variant format writer.
pub trait Write {
/// Writes a VCF header.
fn write_variant_header(&mut self, header: &Header) -> io::Result<()>;
/// Writes a variant record.
fn write_variant_record(&mut self, header: &Header, record: &dyn Record) -> io::Result<()>;
}