pub enum DomNodeType {
Element {
tag: String,
attributes: HashMap<String, String>,
style: HashMap<String, String>,
},
Text(String),
Comment(String),
}Expand description
Types of DOM nodes supported by the engine.
Variants§
Trait Implementations§
Source§impl Clone for DomNodeType
impl Clone for DomNodeType
Source§impl Debug for DomNodeType
impl Debug for DomNodeType
Source§impl PartialEq for DomNodeType
impl PartialEq for DomNodeType
impl StructuralPartialEq for DomNodeType
Auto Trait Implementations§
impl Forget for DomNodeType
impl Freeze for DomNodeType
impl Move for DomNodeType
impl RefUnwindSafe for DomNodeType
impl Send for DomNodeType
impl Sync for DomNodeType
impl Unpin for DomNodeType
impl UnsafeUnpin for DomNodeType
impl UnwindSafe for DomNodeType
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