pub fn config_from_env() -> BenchConfigExpand description
Builds BenchConfig from framework and compatibility environment names.
Invalid, non-finite, nonpositive, or malformed values retain field defaults.
Window syntax is decimal WIDTHxHEIGHT; uppercase X is not accepted.
ยงExamples
let config = ailloli_ui_bench::config_from_env();
assert!(config.dpr.is_finite() && config.dpr > 0.0);
assert!(config.window_w > 0 && config.window_h > 0);