Type Alias leptos::ChildrenFnMut

source ·
pub type ChildrenFnMut = Box<dyn FnMut() -> Fragment>;
Expand description

A type for the children property on components that can be called more than once, but may mutate the children.

Aliased Type§

struct ChildrenFnMut(/* private fields */);

Trait Implementations§

source§

impl<F> ToChildren<F> for ChildrenFnMut
where F: FnMut() -> Fragment + 'static,

source§

fn to_children(f: F) -> Self

Convert the provided type to (generally a closure) to Self (generally a “children” type, e.g., Children). See the implementations to see exactly which input types are supported and which “children” type they are converted to.