pub enum NodeType {
Element = 1,
Attribute = 2,
Text = 3,
CDATASection = 4,
EntityReference = 5,
Entity = 6,
ProcessingInstruction = 7,
Comment = 8,
Document = 9,
DocumentType = 10,
DocumentFragment = 11,
Notation = 12,
}Expand description
Constants NodeType in Interface Node.
Variants§
Element = 1
Attribute = 2
Text = 3
CDATASection = 4
EntityReference = 5
Entity = 6
ProcessingInstruction = 7
Comment = 8
Document = 9
DocumentType = 10
DocumentFragment = 11
Notation = 12
Trait Implementations§
Source§impl Ord for NodeType
impl Ord for NodeType
Source§impl PartialOrd for NodeType
impl PartialOrd for NodeType
impl Copy for NodeType
impl Eq for NodeType
impl StructuralPartialEq for NodeType
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