Trait nu_plugin_engine::WithSource

source ·
pub trait WithSource {
    // Required method
    fn with_source(
        self,
        source: Arc<PluginSource>
    ) -> PluginCustomValueWithSource;
}
Expand description

Helper trait for adding a source to a PluginCustomValue

Required Methods§

source

fn with_source(self, source: Arc<PluginSource>) -> PluginCustomValueWithSource

Add a source to a plugin custom value

Implementations on Foreign Types§

source§

impl WithSource for PluginCustomValue

Implementors§