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§
Sourcefn with_source(self, source: Arc<PluginSource>) -> PluginCustomValueWithSource
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".