ImplFindHandler

Trait ImplFindHandler 

Source
pub trait ImplFindHandler:
    Clone
    + Sized
    + Rc {
    // Required method
    fn get_raw(&self) -> *mut _cef_find_handler_t;

    // Provided methods
    fn on_find_result(
        &self,
        browser: Option<&mut Browser>,
        identifier: c_int,
        count: c_int,
        selection_rect: Option<&Rect>,
        active_match_ordinal: c_int,
        final_update: c_int,
    ) { ... }
    fn init_methods(object: &mut _cef_find_handler_t) { ... }
}

Required Methods§

Provided Methods§

Source

fn on_find_result( &self, browser: Option<&mut Browser>, identifier: c_int, count: c_int, selection_rect: Option<&Rect>, active_match_ordinal: c_int, final_update: c_int, )

See _cef_find_handler_t::on_find_result for more documentation.

Source

fn init_methods(object: &mut _cef_find_handler_t)

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§