Function telescope::templates::helpers::wrap_helper [−][src]
fn wrap_helper<F>(helper_fn: F) -> Box<dyn HelperDef + Send + Sync> where
F: for<'reg, 'rc> Fn(&Helper<'reg, 'rc>, &mut dyn Output) -> HelperResult + Send + Sync + 'static,
Expand description
Wrap a two-argument helper function into a helper object to add to the handlebars registry.