pub enum NodeData {
Document,
Text(RefCell<StrTendril>),
Element(ElementData),
Other,
}
Expand description
The data of a Node
.
Variants§
Document
The root node of the Html
.
Text(RefCell<StrTendril>)
A text node.
Element(ElementData)
An HTML element (aka a tag).
Other
Other types (comment, processing instruction, …).
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 !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