nu_plugin_engine

Trait 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§