Function freya::prelude::fc_to_builder

pub fn fc_to_builder<'a, A, T>(
    _: fn(_: &'a Scoped<'a, T>) -> A
) -> <T as Properties>::Builderwhere
    T: Properties + 'a,
Expand description

This utility function launches the builder method so rsx! and html! macros can use the typed-builder pattern to initialize a component’s props.