HtmlElementExt

Trait HtmlElementExt 

Source
pub trait HtmlElementExt {
    // Required method
    fn x_query_selector<T>(&self, selector: &str) -> Option<T>
       where T: JsCast;
}

Required Methods§

Source

fn x_query_selector<T>(&self, selector: &str) -> Option<T>
where T: JsCast,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl HtmlElementExt for HtmlElement

Source§

fn x_query_selector<T>(&self, selector: &str) -> Option<T>
where T: JsCast,

Implementors§