Skip to main content

preset_fields

Function preset_fields 

Source
pub fn preset_fields(
    name: &str,
) -> Option<&'static [(&'static str, &'static str)]>
Expand description

The (key, value) fields a named preset applies, or None for an unknown name. Single source of truth shared by Settings::apply_preset and the /config preset command so the bundle is never defined twice.