pub trait ImplClient:
Clone
+ Sized
+ Rc {
Show 21 methods
// Required method
fn get_raw(&self) -> *mut _cef_client_t;
// Provided methods
fn audio_handler(&self) -> Option<AudioHandler> { ... }
fn command_handler(&self) -> Option<CommandHandler> { ... }
fn context_menu_handler(&self) -> Option<ContextMenuHandler> { ... }
fn dialog_handler(&self) -> Option<DialogHandler> { ... }
fn display_handler(&self) -> Option<DisplayHandler> { ... }
fn download_handler(&self) -> Option<DownloadHandler> { ... }
fn drag_handler(&self) -> Option<DragHandler> { ... }
fn find_handler(&self) -> Option<FindHandler> { ... }
fn focus_handler(&self) -> Option<FocusHandler> { ... }
fn frame_handler(&self) -> Option<FrameHandler> { ... }
fn permission_handler(&self) -> Option<PermissionHandler> { ... }
fn jsdialog_handler(&self) -> Option<JsdialogHandler> { ... }
fn keyboard_handler(&self) -> Option<KeyboardHandler> { ... }
fn life_span_handler(&self) -> Option<LifeSpanHandler> { ... }
fn load_handler(&self) -> Option<LoadHandler> { ... }
fn print_handler(&self) -> Option<PrintHandler> { ... }
fn render_handler(&self) -> Option<RenderHandler> { ... }
fn request_handler(&self) -> Option<RequestHandler> { ... }
fn on_process_message_received(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
source_process: ProcessId,
message: Option<&mut ProcessMessage>,
) -> c_int { ... }
fn init_methods(object: &mut _cef_client_t) { ... }
}Required Methods§
fn get_raw(&self) -> *mut _cef_client_t
Provided Methods§
Sourcefn audio_handler(&self) -> Option<AudioHandler>
fn audio_handler(&self) -> Option<AudioHandler>
See _cef_client_t::get_audio_handler for more documentation.
Sourcefn command_handler(&self) -> Option<CommandHandler>
fn command_handler(&self) -> Option<CommandHandler>
See _cef_client_t::get_command_handler for more documentation.
See _cef_client_t::get_context_menu_handler for more documentation.
Sourcefn dialog_handler(&self) -> Option<DialogHandler>
fn dialog_handler(&self) -> Option<DialogHandler>
See _cef_client_t::get_dialog_handler for more documentation.
Sourcefn display_handler(&self) -> Option<DisplayHandler>
fn display_handler(&self) -> Option<DisplayHandler>
See _cef_client_t::get_display_handler for more documentation.
Sourcefn download_handler(&self) -> Option<DownloadHandler>
fn download_handler(&self) -> Option<DownloadHandler>
See _cef_client_t::get_download_handler for more documentation.
Sourcefn drag_handler(&self) -> Option<DragHandler>
fn drag_handler(&self) -> Option<DragHandler>
See _cef_client_t::get_drag_handler for more documentation.
Sourcefn find_handler(&self) -> Option<FindHandler>
fn find_handler(&self) -> Option<FindHandler>
See _cef_client_t::get_find_handler for more documentation.
Sourcefn focus_handler(&self) -> Option<FocusHandler>
fn focus_handler(&self) -> Option<FocusHandler>
See _cef_client_t::get_focus_handler for more documentation.
Sourcefn frame_handler(&self) -> Option<FrameHandler>
fn frame_handler(&self) -> Option<FrameHandler>
See _cef_client_t::get_frame_handler for more documentation.
Sourcefn permission_handler(&self) -> Option<PermissionHandler>
fn permission_handler(&self) -> Option<PermissionHandler>
See _cef_client_t::get_permission_handler for more documentation.
Sourcefn jsdialog_handler(&self) -> Option<JsdialogHandler>
fn jsdialog_handler(&self) -> Option<JsdialogHandler>
See _cef_client_t::get_jsdialog_handler for more documentation.
Sourcefn keyboard_handler(&self) -> Option<KeyboardHandler>
fn keyboard_handler(&self) -> Option<KeyboardHandler>
See _cef_client_t::get_keyboard_handler for more documentation.
Sourcefn life_span_handler(&self) -> Option<LifeSpanHandler>
fn life_span_handler(&self) -> Option<LifeSpanHandler>
See _cef_client_t::get_life_span_handler for more documentation.
Sourcefn load_handler(&self) -> Option<LoadHandler>
fn load_handler(&self) -> Option<LoadHandler>
See _cef_client_t::get_load_handler for more documentation.
Sourcefn print_handler(&self) -> Option<PrintHandler>
fn print_handler(&self) -> Option<PrintHandler>
See _cef_client_t::get_print_handler for more documentation.
Sourcefn render_handler(&self) -> Option<RenderHandler>
fn render_handler(&self) -> Option<RenderHandler>
See _cef_client_t::get_render_handler for more documentation.
Sourcefn request_handler(&self) -> Option<RequestHandler>
fn request_handler(&self) -> Option<RequestHandler>
See _cef_client_t::get_request_handler for more documentation.
Sourcefn on_process_message_received(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
source_process: ProcessId,
message: Option<&mut ProcessMessage>,
) -> c_int
fn on_process_message_received( &self, browser: Option<&mut Browser>, frame: Option<&mut Frame>, source_process: ProcessId, message: Option<&mut ProcessMessage>, ) -> c_int
See _cef_client_t::on_process_message_received for more documentation.
fn init_methods(object: &mut _cef_client_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.