wgpu_types::env

Function var

source
pub fn var(_key: &str) -> Option<String>
Expand description

No-std friendly version of std::env::var. Returns None if the environment variable is not set or we are in a no-std context.