Function ggez::filesystem::read_config[][src]

pub fn read_config(ctx: &mut Context) -> GameResult<Conf>
Expand description

Looks for a file named /conf.toml in any resource directory and loads it if it finds it. If it can’t read it for some reason, returns an error.