pub trait LinkOpener {
// Required method
fn open(&self, url: &str);
}Expand description
Opens an address outside the app. Platform layers install one with
crate::Ui::set_links: the browser navigates, the desktop asks the system’s browser.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".