pub struct BrowserProcessHandler(/* private fields */);Expand description
See _cef_browser_process_handler_t for more documentation.
Implementations§
Source§impl BrowserProcessHandler
impl BrowserProcessHandler
pub fn new<T>(interface: T) -> Selfwhere
T: WrapBrowserProcessHandler,
Trait Implementations§
Source§impl Clone for BrowserProcessHandler
impl Clone for BrowserProcessHandler
Source§fn clone(&self) -> BrowserProcessHandler
fn clone(&self) -> BrowserProcessHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConvertParam<*mut _cef_browser_process_handler_t> for &BrowserProcessHandler
impl ConvertParam<*mut _cef_browser_process_handler_t> for &BrowserProcessHandler
fn into_raw(self) -> *mut _cef_browser_process_handler_t
Source§impl ConvertParam<*mut _cef_browser_process_handler_t> for &mut BrowserProcessHandler
impl ConvertParam<*mut _cef_browser_process_handler_t> for &mut BrowserProcessHandler
fn into_raw(self) -> *mut _cef_browser_process_handler_t
Source§impl ConvertReturnValue<BrowserProcessHandler> for *mut _cef_browser_process_handler_t
impl ConvertReturnValue<BrowserProcessHandler> for *mut _cef_browser_process_handler_t
fn wrap_result(self) -> BrowserProcessHandler
Source§impl From<BrowserProcessHandler> for *mut _cef_browser_process_handler_t
impl From<BrowserProcessHandler> for *mut _cef_browser_process_handler_t
Source§fn from(value: BrowserProcessHandler) -> Self
fn from(value: BrowserProcessHandler) -> Self
Converts to this type from the input type.
Source§impl ImplBrowserProcessHandler for BrowserProcessHandler
impl ImplBrowserProcessHandler for BrowserProcessHandler
Source§fn on_register_custom_preferences(
&self,
type_: PreferencesType,
registrar: Option<&mut PreferenceRegistrar>,
)
fn on_register_custom_preferences( &self, type_: PreferencesType, registrar: Option<&mut PreferenceRegistrar>, )
See
_cef_browser_process_handler_t::on_register_custom_preferences for more documentation.Source§fn on_context_initialized(&self)
fn on_context_initialized(&self)
See
_cef_browser_process_handler_t::on_context_initialized for more documentation.Source§fn on_before_child_process_launch(&self, command_line: Option<&mut CommandLine>)
fn on_before_child_process_launch(&self, command_line: Option<&mut CommandLine>)
See
_cef_browser_process_handler_t::on_before_child_process_launch for more documentation.Source§fn on_already_running_app_relaunch(
&self,
command_line: Option<&mut CommandLine>,
current_directory: Option<&CefString>,
) -> c_int
fn on_already_running_app_relaunch( &self, command_line: Option<&mut CommandLine>, current_directory: Option<&CefString>, ) -> c_int
See
_cef_browser_process_handler_t::on_already_running_app_relaunch for more documentation.Source§fn on_schedule_message_pump_work(&self, delay_ms: i64)
fn on_schedule_message_pump_work(&self, delay_ms: i64)
See
_cef_browser_process_handler_t::on_schedule_message_pump_work for more documentation.Source§fn default_client(&self) -> Option<Client>
fn default_client(&self) -> Option<Client>
See
_cef_browser_process_handler_t::get_default_client for more documentation.Source§fn default_request_context_handler(&self) -> Option<RequestContextHandler>
fn default_request_context_handler(&self) -> Option<RequestContextHandler>
See
_cef_browser_process_handler_t::get_default_request_context_handler for more documentation.fn get_raw(&self) -> *mut _cef_browser_process_handler_t
fn init_methods(object: &mut _cef_browser_process_handler_t)
Source§impl Rc for BrowserProcessHandler
impl Rc for BrowserProcessHandler
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for BrowserProcessHandler
impl RefUnwindSafe for BrowserProcessHandler
impl Send for BrowserProcessHandler
impl Sync for BrowserProcessHandler
impl Unpin for BrowserProcessHandler
impl UnwindSafe for BrowserProcessHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more