pub fn with_view<R>(view: &View, f: impl FnOnce(View<'_>) -> R) -> R
Borrows an engine View as an mln_plugin::View for the duration of f (useful in plugin unit tests).
View
mln_plugin::View
f