Function ggez::filesystem::open[][src]

pub fn open<P: AsRef<Path>>(ctx: &mut Context, path: P) -> GameResult<File>
Expand description

Opens the given path and returns the resulting File in read-only mode.