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
impl Copy 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more