get_parent_and_index

Function get_parent_and_index 

Source
fn get_parent_and_index(target: &Handle) -> Option<(Handle, usize)>
Available on crate feature xml5ever only.
Expand description

If the node has a parent, get it and this node’s position in its children