pub fn next_sibling(self) -> Option<XmlNode<'gc>> {
        match *self.0.read() {
            XmlNodeData::DocumentRoot { .. } => None,
            XmlNodeData::Element { next_sibling, .. } | XmlNodeData::Text { next_sibling, .. } => {
                next_sibling
            }
        }
    }
/// Get the next sibling, if this node has one.
Get the next sibling, if this node has one.
Get the next sibling if this node has one .
pub fn next_sibling(self) -> Option<XmlNode<'gc>> {
        match *self.0.read() {
            XmlNodeData::DocumentRoot { .. } => None,
            XmlNodeData::Element { next_sibling, .. } | XmlNodeData::Text { next_sibling, .. } => {
                next_sibling
            }
        }
    }
pub fn next_sibling ( self ) -> Option < XmlNode < ' gc > > { match * self . 0 . read ( ) { XmlNodeData :: DocumentRoot { .. } => None , XmlNodeData :: Element { next_sibling , .. } | XmlNodeData :: Text { next_sibling , .. } => { next_sibling } } }
Get the next sibling, if this node has one.
Get the next sibling if this node has one .
self