Function override_or_global

Source
pub fn override_or_global<T: AttrValue + Copy>(
    overrides: &Attrs,
    key: Key<T>,
) -> T
Expand description

Return the override value for key if it is explicitly present in overrides, otherwise fall back to the global value for that key.