Skip to main content

write_to

Function write_to 

Source
pub fn write_to<W: Write>(
    structure: &Structure,
    options: &PdbOptions,
    output: &mut W,
) -> Result<(), Vec<Diagnostic>>
Expand description

Streams a complete PDB directly to a byte destination.

ยงErrors

Returns every fixed-column refusal before the first byte, or an output diagnostic if the destination stops accepting bytes.