[][src]Function pyxel::open

pub fn open<P>(path: P) -> Result<Pyxel, PyxelError> where
    P: AsRef<Path>, 

Open the Pyxel document located at the path specified.

Examples

let doc = pyxel::open("resources/doc.pyxel")?;