pub enum NodeData {
Document,
DocumentType {
name: String,
public_id: String,
system_id: String,
},
Element(ElementData),
Text(String),
Comment(String),
ProcessingInstruction {
target: String,
data: String,
},
DocumentFragment,
ShadowRoot {
mode: ShadowRootMode,
host: NodeId,
},
}Expand description
Node data — the payload for each node in the arena.
Variants§
Document
DocumentType
Element(ElementData)
Text(String)
Comment(String)
ProcessingInstruction
DocumentFragment
ShadowRoot
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeData
impl RefUnwindSafe for NodeData
impl Send for NodeData
impl Sync for NodeData
impl Unpin for NodeData
impl UnsafeUnpin for NodeData
impl UnwindSafe for NodeData
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