Function script::dom::node::window_from_node

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