Function consecuit::construction::mount::mount_app_at [−][src]
pub fn mount_app_at<Ret>(
function: fn(_: ComponentBuilder, _: ()) -> Ret,
node: Node
) where
Ret: ComponentReturn,
Expand description
Mount the given component on the given Node
. This uses mount_app_without_leaking_at
and leaks the result.
The component must be a Consecuit component that takes ()
(empty tuple) as props.
See crate
for what a Consecuit component looks like.