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§
Sourcefn root_element(&self) -> ElementHandle
fn root_element(&self) -> ElementHandle
Returns the root of the element tree.