pub fn write(
structure: &Structure,
options: &PdbOptions,
) -> Result<String, Vec<Diagnostic>>Expand description
Writes a structure, or explains why it cannot be written.
ยงErrors
Returns every capacity the structure exceeds, so a caller sees the whole problem rather than fixing one field at a time.