Function kicad_parse_gen::read_kicad_file
[−]
[src]
pub fn read_kicad_file(name: &str, expected: Expected) -> Result<KicadFile>
try to read a file, trying to parse it as the different formats and matching it against the Expected type