Deriving clone/debug
This commit is contained in:
parent
87a7024bf0
commit
95a3cff278
@ -64,10 +64,12 @@ struct Span<'a> {
|
||||
contents: &'a str,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Template<'a> {
|
||||
elements: Vec<TemplateElement<'a>>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
enum TemplateElement<'a> {
|
||||
TESpan(Span<'a>),
|
||||
TETag(DustTag<'a>),
|
||||
|
Loading…
Reference in New Issue
Block a user