pub trait TagLogic {
// Provided methods
fn is_valid_name(&mut self, name: &str) -> bool { ... }
fn names(&self) -> &[&str] { ... }
fn run(
&self,
name: &str,
attributes: &Attributes,
items: &[Item],
template_context: &mut TemplateContext,
) { ... }
}