/// If enabled_plugins is not specified or is empty, all plugins are allowed
/// to be loaded, otherwise only specified plugins will be loaded.
///
/// Any plugins in disabled_plugins which were otherwise enabled, will be
/// skipped.
///
/// Note that this function does not check for plugin validity, only if it
/// would be enabled based on the name.
If enabled_plugins is not specified or is empty, all plugins are allowed
to be loaded, otherwise only specified plugins will be loaded.

Any plugins in disabled_plugins which were otherwise enabled, will be
skipped.

Note that this function does not check for plugin validity, only if it
would be enabled based on the name.
If enabled_plugins is not specified or is empty all plugins are allowed to be loaded otherwise only specified plugins will be loaded . Any plugins in disabled_plugins which were otherwise enabled will be skipped . Note that this function does not check for plugin validity only if it would be enabled based on the name .
pub fn plugin_enabled(&self, plugin_name: &str) -> bool {
        if self.disabled_plugins.contains(plugin_name) {
            return false;
        }
        // If enabled_plugins has no values, all are enabled.
        self.enabled_plugins.is_empty() || self.enabled_plugins.contains(plugin_name)
    }
pub fn plugin_enabled ( & self , plugin_name : & str ) -> bool { if self . disabled_plugins . contains ( plugin_name ) { return false ; } // If enabled_plugins has no values, all are enabled. self . enabled_plugins . is_empty ( ) || self . enabled_plugins . contains ( plugin_name ) }
If enabled_plugins is not specified or is empty, all plugins are allowed
to be loaded, otherwise only specified plugins will be loaded.
If enabled_plugins is not specified or is empty all plugins are allowed to be loaded otherwise only specified plugins will be loaded .
&self
plugin_name
&str