pub fn button<F: Fn() + 'static>(view: impl View + 'static, f: F) -> impl View
Calls a function when the button is tapped.