Function tiled::parse_file[][src]

pub fn parse_file(path: &Path) -> Result<Map, TiledError>

Parse a file hopefully containing a Tiled map and try to parse it. If the file has an external tileset, the tileset file will be loaded using a path relative to the map file's path.