[][src]Function gbx_header::gbx::parser::parse_from_file

pub fn parse_from_file(filename: &str) -> Result<GBX, ParseError>

Reads the contents from filename and parses them identically to parse_from_buffer.

Note, that the GBXOrigin of the returned GBX.GBXHeader will be File{path:<filepath>}.