pub trait Component<Props> { // Required method fn render(&mut self, ui: &Ui<'_>, props: Props); }
Interface for UI components.
Renders the component.