pub enum NodeType {
Root,
Element,
PI,
Comment,
Text,
}
Expand description
A list of supported node types.
Variants§
Root
The root node of the Document
.
Element
An element node.
Only an element can have a tag name and attributes.
PI
A processing instruction.
Comment
A comment node.
Text
A text node.
Trait Implementations§
source§impl PartialEq for NodeType
impl PartialEq for NodeType
impl Copy for NodeType
impl Eq for NodeType
impl StructuralEq for NodeType
impl StructuralPartialEq for NodeType
Auto Trait Implementations§
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
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