pub trait HypertextExt: 'static {
// Required methods
fn get_link(&self, link_index: i32) -> Option<Hyperlink>;
fn get_link_index(&self, char_index: i32) -> i32;
fn get_n_links(&self) -> i32;
fn connect_link_selected<F: Fn(&Self, i32) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_link(&self, link_index: i32) -> Option<Hyperlink>
fn get_link_index(&self, char_index: i32) -> i32
fn get_n_links(&self) -> i32
fn connect_link_selected<F: Fn(&Self, i32) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.