pub fn profile(
config: &Config,
root: &Path,
id: &str,
) -> Result<Profile, (Code, String)>Expand description
The profile (with its file) of target id (the engine’s or the game’s of config,
from root), or the code and what is wrong: the profiles don’t load,
or none has that id. Both are codes::TARGET.