pub enum StaticTemplateNode<'a> {
Element(StaticTemplateElement<'a>),
Text(StaticTemplateText<'a>),
}Expand description
A static element or text node inside a Template.
Variants§
Element(StaticTemplateElement<'a>)
A static template element.
Text(StaticTemplateText<'a>)
A static template text node.
Trait Implementations§
Source§impl<'a> Clone for StaticTemplateNode<'a>
impl<'a> Clone for StaticTemplateNode<'a>
impl<'a> Copy for StaticTemplateNode<'a>
Auto Trait Implementations§
impl<'a> Freeze for StaticTemplateNode<'a>
impl<'a> RefUnwindSafe for StaticTemplateNode<'a>
impl<'a> Send for StaticTemplateNode<'a>
impl<'a> Sync for StaticTemplateNode<'a>
impl<'a> Unpin for StaticTemplateNode<'a>
impl<'a> UnsafeUnpin for StaticTemplateNode<'a>
impl<'a> UnwindSafe for StaticTemplateNode<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more