pub enum NodeType {
Element,
Attribute,
Text,
CDataSection,
ProcessingInstruction,
Comment,
Document,
DocumentType,
DocumentFragment,
}
Expand description
Specifies the type of the node. See https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
Variants§
Element
A node type corresponding to Element nodes
Attribute
A node type corresponding to Attribute nodes
Text
A node type corresponding to Text nodes
CDataSection
A node type corresponding to CDataSection nodes
ProcessingInstruction
A node type corresponding to ProcessingInstruction nodes
Comment
A node type corresponding to Comment nodes
Document
A node type corresponding to Document nodes
DocumentType
A node type corresponding to DocumentType nodes
DocumentFragment
A node type corresponding to DocumentFragment nodes
Implementations§
Auto Trait Implementations§
impl Freeze for NodeType
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