pub trait Ui {
    fn horizontal(&mut self, f: impl FnOnce(&mut Self));
    fn enabled(&mut self, enabled: bool, f: impl FnOnce(&mut Self));
    fn label(&mut self, text: &str);
    fn checkbox(&mut self, value: &mut bool, text: &str);
    fn file(
        &mut self,
        label: &str,
        value: &mut Option<PathBuf>,
        filter: &[(&str, &[&str])]
    ); fn color(&mut self, value: &mut Pixel); fn radio<T: PartialEq + Clone>(
        &mut self,
        value: &mut T,
        choices: &[(&str, T)]
    ); fn combo_box<T: PartialEq + Clone>(
        &mut self,
        value: &mut T,
        choices: &[(&str, T)]
    ); }

Required Methods

Implementors