fn is_same_type(&self, other: &Self) -> bool {
        self.tree.compare_node(&self.id, &other.id, |a, b| {
            if let NodeData::Element(ref e1) = a.data {
                return match b.data {
                    NodeData::Element(ref e2) => e1.name == e2.name,
                    _ => false,
                };
            }

            false
        })
    }
// Whether this element and the `other` element have the same local name and namespace.
Whether this element and the `other` element have the same local name and namespace.
Whether this element and the ` other ` element have the same local name and namespace .
fn is_same_type(&self, other: &Self) -> bool {
        self.tree.compare_node(&self.id, &other.id, |a, b| {
            if let NodeData::Element(ref e1) = a.data {
                return match b.data {
                    NodeData::Element(ref e2) => e1.name == e2.name,
                    _ => false,
                };
            }
            false
        })
    }
fn is_same_type ( & self , other : & Self ) -> bool { self . tree . compare_node ( & self . id , & other . id , | a , b | { if let NodeData :: Element ( ref e1 ) = a . data { return match b . data { NodeData :: Element ( ref e2 ) => e1 . name == e2 . name , _ => false , } ; } false } ) }
Whether this element and the `other` element have the same local name and namespace.
Whether this element and the ` other ` element have the same local name and namespace .
&self
other
&Self
&self
other
&Self