Skip to main content

try_with_plugin_mut

Function try_with_plugin_mut 

Source
pub fn try_with_plugin_mut<T: Plugin, R>(
    update: impl FnOnce(&mut T) -> R,
) -> Option<R>
Expand description

Updates a plugin when it is available in the active session.