i_slint_backend_testing

Trait ElementRoot

Source
pub trait ElementRoot: Sealed {
    // Provided method
    fn root_element(&self) -> ElementHandle { ... }
}
Expand description

Trait for type that can be searched for element. This is implemented for everything that implements ComponentHandle

Provided Methods§

Source

fn root_element(&self) -> ElementHandle

Returns the root of the element tree.

Implementors§