pub trait ImplFrameHandler:
Clone
+ Sized
+ Rc {
// Required method
fn get_raw(&self) -> *mut _cef_frame_handler_t;
// Provided methods
fn on_frame_created(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
) { ... }
fn on_frame_destroyed(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
) { ... }
fn on_frame_attached(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
reattached: c_int,
) { ... }
fn on_frame_detached(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
) { ... }
fn on_main_frame_changed(
&self,
browser: Option<&mut Browser>,
old_frame: Option<&mut Frame>,
new_frame: Option<&mut Frame>,
) { ... }
fn init_methods(object: &mut _cef_frame_handler_t) { ... }
}Required Methods§
fn get_raw(&self) -> *mut _cef_frame_handler_t
Provided Methods§
Sourcefn on_frame_created(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
)
fn on_frame_created( &self, browser: Option<&mut Browser>, frame: Option<&mut Frame>, )
See _cef_frame_handler_t::on_frame_created for more documentation.
Sourcefn on_frame_destroyed(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
)
fn on_frame_destroyed( &self, browser: Option<&mut Browser>, frame: Option<&mut Frame>, )
See _cef_frame_handler_t::on_frame_destroyed for more documentation.
Sourcefn on_frame_attached(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
reattached: c_int,
)
fn on_frame_attached( &self, browser: Option<&mut Browser>, frame: Option<&mut Frame>, reattached: c_int, )
See _cef_frame_handler_t::on_frame_attached for more documentation.
Sourcefn on_frame_detached(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
)
fn on_frame_detached( &self, browser: Option<&mut Browser>, frame: Option<&mut Frame>, )
See _cef_frame_handler_t::on_frame_detached for more documentation.
Sourcefn on_main_frame_changed(
&self,
browser: Option<&mut Browser>,
old_frame: Option<&mut Frame>,
new_frame: Option<&mut Frame>,
)
fn on_main_frame_changed( &self, browser: Option<&mut Browser>, old_frame: Option<&mut Frame>, new_frame: Option<&mut Frame>, )
See _cef_frame_handler_t::on_main_frame_changed for more documentation.
fn init_methods(object: &mut _cef_frame_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.