Skip to main content

IntoElement

Trait IntoElement 

Source
pub trait IntoElement {
    // Required method
    fn into_any(self) -> AnyElement;
}
Expand description

Converts an element into the erased form a parent stores.

Required Methods§

Source

fn into_any(self) -> AnyElement

Erases the widget type of this element.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§