INNER CODE UNIT · Rust

is_overridden

gosub-io/gosub-engine · crates/gosub_config/src/lib.rs:184

    pub fn is_overridden(&self, key: &str) -> bool {
        self.0.read().is_overridden(key)
    }

    /// Returns the keys matching the given wildcard search (`*`/`?`).
    #[must_use]
    pub fn find(&self, search: &str) -> Vec<String> {
        self.0.read().find(search)
    }

    /// Returns metadata (description, default, constraint) for the given key.
    #[must_use]
    pub fn get_info(&self, key: &str) -> Option<SettingInfo> {
        self.0.read().get_info(key)
    }

    /// Subscribes to changes on settings whose key matches `pattern` (a [`WildMatch`] pattern, so
    /// `*`/`?` wildcards work, e.g. `dns.*` or `*`). The callback fires whenever a matching

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…