pub trait PreviewBuilder<A> {
// Required methods
fn width(&self) -> f32;
fn do_ui(&mut self, ui: &Ui<A>, chooser: &FileChooser);
}
Expand description
A trait to build the “preview” section of the UI.
Required Methods§
Sourcefn do_ui(&mut self, ui: &Ui<A>, chooser: &FileChooser)
fn do_ui(&mut self, ui: &Ui<A>, chooser: &FileChooser)
Builds the UI for the preview.