with_plugin_mut

Function with_plugin_mut 

Source
pub fn with_plugin_mut<T, R>(f: impl FnOnce(&mut T) -> R) -> R
where T: Plugin + 'static,
Expand description

Provides mutable access to the registered plugin instance.

ยงPanics

Panics if the plugin type was not registered.