pub fn modview<S: Clone + Default + 'static, V: View, F: Fn(S, &mut Context) -> V + 'static>( f: F) -> ModView<S, F>
Passes a value to a function. Value can be updated by modifiers.