1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
mod widget; pub use widget::{ button::Button, checkbox::Checkbox, input::Input, label::Label, slider::Slider, view::{Event, View, WidgetType, WidgetValue}, }; /// Runs the provided view and returns selected values (e.g., checked checkboxes). pub fn run(mut view: View) -> std::io::Result<Vec<String>> { view.run() }