Function rui::modview

source · []
pub fn modview<S: Clone + Default + 'static, V: View, F: Fn(S, &mut Context) -> V + 'static>(
    f: F
) -> ModView<S, F>
Expand description

Passes a value to a function. Value can be updated by modifiers.