pub trait Render: 'static + Sized { type Element: Element + 'static; // Required method fn render(&mut self, cx: &mut ViewContext<'_, Self>) -> Self::Element; }