pub trait IntoElement {
// Required method
fn into_any(self) -> AnyElement;
}Expand description
Converts an element into the erased form a parent stores.
Required Methods§
Sourcefn into_any(self) -> AnyElement
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".