pub trait FrontendCtx:
Clone
+ Send
+ Sync
+ 'static {
// Required methods
fn request_repaint(&self);
fn set_clipboard(&self, text: &str);
fn pick_file(
&self,
rt: &Runtime,
update_tx: &UnboundedSender<UiUpdate>,
target: FilePickTarget,
title: &str,
default_dir: &str,
);
}Required Methods§
fn request_repaint(&self)
fn set_clipboard(&self, text: &str)
fn pick_file( &self, rt: &Runtime, update_tx: &UnboundedSender<UiUpdate>, target: FilePickTarget, title: &str, default_dir: &str, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".