pub trait TextEventSurface: HasTextNode {
// Provided methods
fn on_text_changed(
&self,
handler: impl Fn(TextChangedEventArgs) + 'static,
) -> &Self { ... }
fn on_selection_changed(
&self,
handler: impl Fn(SelectionChangedEventArgs) + 'static,
) -> &Self { ... }
}Provided Methods§
fn on_text_changed( &self, handler: impl Fn(TextChangedEventArgs) + 'static, ) -> &Self
fn on_selection_changed( &self, handler: impl Fn(SelectionChangedEventArgs) + 'static, ) -> &Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".