pub trait IntoElement<'a, C, M>where
C: PixelColor + 'a,
M: Clone + 'a,{
// Required method
fn into_element(self) -> Element<'a, C, M>;
}Expand description
Conversion from a concrete widget into an Element.
Required Methods§
Sourcefn into_element(self) -> Element<'a, C, M>
fn into_element(self) -> Element<'a, C, M>
Wrap self.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".