create_plugin

Function create_plugin 

Source
pub fn create_plugin(name: &str) -> Option<Box<dyn Plugin>>
Expand description

Create a plugin by name.

ยงReturns

  • Some(plugin) if the name matches a built-in plugin
  • None if the name is not recognized