[][src]Function pdbtbx::save

pub fn save(
    pdb: PDB,
    filename: &str,
    level: StrictnessLevel
) -> Result<(), Vec<PDBError>>

Save the given PDB struct to the given file. It validates the PDB. It fails if the validation fails with the given level. If validation gives rise to problems use the save_raw function.