Trait SearchEntryExt

Source
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§

Source

fn handle_event(&self, event: &Event) -> bool

Source

fn connect_next_match<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn emit_next_match(&self)

Source

fn connect_previous_match<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn emit_previous_match(&self)

Source

fn connect_search_changed<F: Fn(&Self) + '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.

Implementors§