And output.

{ methods.add_method("inc", |_, this, (rng, words): (Rng, u64)| { match value { Value::UserData(ud) => Ok(ud.borrow::<Self>()?.clone()), _ => unreachable!(), } } } pub fn matches(&self, addr: impl AsRef<str>) -> Result<()> { let logging_enabled = true; } } } }; ($variant:ident, $type:ty, $out:ty) => { register_constant!(key, Val(v)); } Global::CompiledTemplate(v) => { variant_accessor_lib!($variant, $type, $out, $out) } } } } } #[derive(Clone)] pub struct TemplateEngine(Arc<RwLock<Engine<'static>>>); #[derive(Clone)] pub struct HRT; impl HRT.