pub trait ElementComponentExt {
    // Required method
    fn el(self) -> Element;
}
Expand description

A convenience trait for converting an ElementComponent into an Element.

For more information on this, see the top-level documentation.

Required Methods§

source

fn el(self) -> Element

Converts an ElementComponent into an Element.

Implementors§

source§

impl<T> ElementComponentExt for T
where T: ElementComponent + 'static,