pub struct PluginConfiguration {
pub plugin_dynamic_register_function: Option<String>,
pub plugin_dynamic_registration: Option<bool>,
pub plugin_factories: Option<BTreeMap<String, String>>,
pub plugin_types: Option<BTreeMap<String, String>>,
pub plugin_unload_function: Option<String>,
}Expand description
Plugin Configuration
Fields§
§plugin_dynamic_register_function: Option<String>The function to use when dynamically registering a plugin.
§Availability
- macOS 10.0+
§Framework
- Core Foundation
plugin_dynamic_registration: Option<bool>A Boolean value indicating whether the host loads this plugin.
§Availability
- macOS 10.0+
§Framework
- Core Foundation
plugin_factories: Option<BTreeMap<String, String>>The interfaces supported by the plugin for static registration.
§Availability
- macOS 10.0+
§Framework
- Core Foundation
plugin_types: Option<BTreeMap<String, String>>One or more groups of interfaces supported by the plugin for static registration.
§Availability
- macOS 10.0+
§Framework
- Core Foundation
plugin_unload_function: Option<String>The name of the function to call to unload the plugin code from memory.
§Availability
- macOS 10.0+
§Framework
- Core Foundation
Trait Implementations§
Source§impl Clone for PluginConfiguration
impl Clone for PluginConfiguration
Source§fn clone(&self) -> PluginConfiguration
fn clone(&self) -> PluginConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginConfiguration
impl Debug for PluginConfiguration
Source§impl Default for PluginConfiguration
impl Default for PluginConfiguration
Source§fn default() -> PluginConfiguration
fn default() -> PluginConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginConfiguration
impl<'de> Deserialize<'de> for PluginConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PluginConfiguration
impl PartialEq for PluginConfiguration
Source§impl Serialize for PluginConfiguration
impl Serialize for PluginConfiguration
impl Eq for PluginConfiguration
impl StructuralPartialEq for PluginConfiguration
Auto Trait Implementations§
impl Freeze for PluginConfiguration
impl RefUnwindSafe for PluginConfiguration
impl Send for PluginConfiguration
impl Sync for PluginConfiguration
impl Unpin for PluginConfiguration
impl UnwindSafe for PluginConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.