Trait webui::FunctionProvider
source · [−]pub trait FunctionProvider {
type TProps: Properties + PartialEq<Self::TProps>;
fn run(props: &Self::TProps) -> VNode;
}Expand description
Trait that allows a struct to act as Function Component.
Required Associated Types
sourcetype TProps: Properties + PartialEq<Self::TProps>
type TProps: Properties + PartialEq<Self::TProps>
Properties for the Function Component.