pub enum DecodedTemplateOp {
Enter {
skip: u16,
namespace: bool,
},
Attr {
namespace: bool,
},
Text,
Static(u16),
}Expand description
Decoded representation of a packed template operation.
Variants§
Enter
Enter an element. skip is the number of ops in this element subtree.
Fields
Attr
A static attribute on the current element.
Text
A text node marker. The next op is a Self::Static string reference.
Static(u16)
A static string pool reference.
Trait Implementations§
Source§impl Clone for DecodedTemplateOp
impl Clone for DecodedTemplateOp
impl Copy for DecodedTemplateOp
Source§impl Debug for DecodedTemplateOp
impl Debug for DecodedTemplateOp
impl Eq for DecodedTemplateOp
Source§impl PartialEq for DecodedTemplateOp
impl PartialEq for DecodedTemplateOp
impl StructuralPartialEq for DecodedTemplateOp
Auto Trait Implementations§
impl Freeze for DecodedTemplateOp
impl RefUnwindSafe for DecodedTemplateOp
impl Send for DecodedTemplateOp
impl Sync for DecodedTemplateOp
impl Unpin for DecodedTemplateOp
impl UnsafeUnpin for DecodedTemplateOp
impl UnwindSafe for DecodedTemplateOp
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