pub trait SearchEntryExt: 'static {
// Required methods
fn handle_event(&self, event: &Event) -> bool;
fn connect_next_match<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn emit_next_match(&self);
fn connect_previous_match<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn emit_previous_match(&self);
fn connect_search_changed<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_stop_search<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn emit_stop_search(&self);
}
Required Methods§
fn handle_event(&self, event: &Event) -> bool
fn connect_next_match<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn emit_next_match(&self)
fn connect_previous_match<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn emit_previous_match(&self)
fn connect_search_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_stop_search<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn emit_stop_search(&self)
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.