pub fn has_children(self) -> bool {
        matches!(
            *self.0.read(),
            XmlNodeData::Element { .. } | XmlNodeData::DocumentRoot { .. }
        )
    }
/// Returns if the node can yield children.
///
/// Document roots and elements can yield children, while all other
/// elements are structurally prohibited from adopting child `XMLNode`s.
Returns if the node can yield children.
Document roots and elements can yield children, while all other
elements are structurally prohibited from adopting child `XMLNode`s.
Returns if the node can yield children . Document roots and elements can yield children while all other elements are structurally prohibited from adopting child ` XMLNode ` s .
pub fn has_children(self) -> bool {
        matches!(
            *self.0.read(),
            XmlNodeData::Element { .. } | XmlNodeData::DocumentRoot { .. }
        )
    }
pub fn has_children ( self ) -> bool { matches ! ( self 0 read ( ) XmlNodeData Element { } XmlNodeData DocumentRoot { } ) }
Returns if the node can yield children.
Returns if the node can yield children .
self