pub type ComponentFn<M, I> = Box<dyn FnOnce(&mut ModuleBuildContext<M>) -> Box<I> + Send + Sync>;Expand description
The type signature of Component::build without the parameters. This is
used when overriding a component via
ModuleBuilder::with_component_override_fn
Aliased Typeยง
pub struct ComponentFn<M, I>(/* private fields */);