Skip to main content

WithSource

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl WithSource for PluginCustomValue

Implementors§