pub trait TemplateStructure {
// Required method
fn location(&self) -> Range<Position>;
// Provided methods
fn location_start(&self) -> Position { ... }
fn location_end(&self) -> Position { ... }
}
pub trait TemplateStructure {
// Required method
fn location(&self) -> Range<Position>;
// Provided methods
fn location_start(&self) -> Position { ... }
fn location_end(&self) -> Position { ... }
}