Skip to main content

lookup

Function lookup 

Source
pub fn lookup(name: &str) -> Option<&'static str>
Expand description

Look up a built-in preset’s compiled-in TOML text by name. Returns None for anything not one of the six RESERVED_PRESET_NAMES — the resolver (configfile.rs §3.5) falls back to treating the name as a file path in that case (user/global layer only, §3.3).