pub fn compare_document_order<N: DomNavigator>(a: &N, b: &N) -> OrderingExpand description
Compare two nodes by document order.
ยงReturns
std::cmp::Ordering::Lessifaprecedesbstd::cmp::Ordering::Equalif they are the same nodestd::cmp::Ordering::Greaterifafollowsb