Type Definition shaku::ComponentFn [−][src]
type ComponentFn<M, I> = Box<dyn FnOnce(&mut ModuleBuildContext<M>) -> Box<I> + Send + Sync>;
The type signature of Component::build
without the parameters. This is
used when overriding a component via ModuleBuilder::with_component_override_fn