pub fn template<F, O>(func: F) -> FnTemplate<F, O>where F: Fn(&mut TemplateContext<'_, '_>) -> Result<O, BevyError>,
Returns a “free floating” template for a given func. This prevents the need to define a custom type for one-off templates.
func