pub fn node_type(self) -> u8 {
        match &*self.0.read() {
            XmlNodeData::DocumentRoot { .. } => xml::DOCUMENT_NODE,
            XmlNodeData::Element { .. } => xml::ELEMENT_NODE,
            XmlNodeData::Text { .. } => xml::TEXT_NODE,
        }
    }
/// Returns the type of this node as an integer.
///
/// This is primarily intended to match W3C DOM L1 specifications and
/// should not be used in lieu of a proper `match` statement.
Returns the type of this node as an integer.
This is primarily intended to match W3C DOM L1 specifications and
should not be used in lieu of a proper `match` statement.
Returns the type of this node as an integer . This is primarily intended to match W3C DOM L1 specifications and should not be used in lieu of a proper ` match ` statement .
pub fn node_type(self) -> u8 {
        match &*self.0.read() {
            XmlNodeData::DocumentRoot { .. } => xml::DOCUMENT_NODE,
            XmlNodeData::Element { .. } => xml::ELEMENT_NODE,
            XmlNodeData::Text { .. } => xml::TEXT_NODE,
        }
    }
pub fn node_type ( self ) -> u8 { match & * self . 0 . read ( ) { XmlNodeData :: DocumentRoot { .. } => xml :: DOCUMENT_NODE , XmlNodeData :: Element { .. } => xml :: ELEMENT_NODE , XmlNodeData :: Text { .. } => xml :: TEXT_NODE , } }
Returns the type of this node as an integer.
Returns the type of this node as an integer .
self