Skip to main content

read_mdl_ascii

Function read_mdl_ascii 

Source
pub fn read_mdl_ascii<R: BufRead>(reader: R) -> Result<Mdl, MdlAsciiError>
Expand description

Reads an ASCII MDL model from a buffered reader.

ยงErrors

MdlAsciiError::Io when the reader fails, MdlAsciiError::Parse for a line the grammar does not accept or a number that will not parse, and MdlAsciiError::InvalidData when the node tree the file describes does not hang together.