Trait rustcn_ui::ComponentFunction 
source · pub trait ComponentFunction<Props, Marker = ()>: Clone + 'static {
    // Required method
    fn rebuild(&self, props: Props) -> Option<VNode>;
    // Provided method
    fn id(&self) -> TypeId { ... }
}Expand description
Any component that implements the ComponentFn trait can be used as a component.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.