Function to_writer_with_fields

Source
pub fn to_writer_with_fields<T, W, F: AsRef<str>>(
    value: T,
    fmt: &FortFormat,
    fields: &[F],
    writer: W,
) -> SResult<()>
where T: Serialize, W: Write,
Expand description

Serialize a value directly to a writer using the given Fortran format and a list of field names.

This is the equivalent of to_bytes_with_fields but writes directly to something implementing std::io::Write. The same notes given for to_writer apply.