Function script::dom::node::document_from_node

source ยท
pub fn document_from_node<T: DerivedFrom<Node> + DomObject>(
    derived: &T,
) -> Root<Dom<Document>>