pub trait GpuiComponentRender<State: 'static>: 'static {
const RENDERS: bool;
// Required method
fn new(entity: &Entity<State>) -> impl IntoElement;
}Expand description
Renders a component UI value from a component state entity.
Required Associated Constants§
Required Methods§
Sourcefn new(entity: &Entity<State>) -> impl IntoElement
fn new(entity: &Entity<State>) -> impl IntoElement
Build a render component from the generated form field entity.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".