[−][src]Function pdbtbx::open
pub fn open(
filename: &str,
level: StrictnessLevel
) -> Result<(PDB, Vec<PDBError>), Vec<PDBError>>
Parse the given file into a PDB struct. Returns an PDBError when it found a BreakingError. Otherwise it returns the PDB with all errors/warnings found while parsing it.