pub struct TabLoadHandler { /* private fields */ }Implementations§
Source§impl TabLoadHandler
impl TabLoadHandler
pub fn new_load_handler(tab_id: TabId) -> LoadHandler
Trait Implementations§
Source§impl Clone for TabLoadHandler
impl Clone for TabLoadHandler
Source§impl ImplLoadHandler for TabLoadHandler
implement ACTUAL functionality of the component
impl ImplLoadHandler for TabLoadHandler
implement ACTUAL functionality of the component
fn get_raw(&self) -> *mut _cef_load_handler_t
Source§fn on_loading_state_change(
&self,
_browser: Option<&mut Browser>,
_is_loading: c_int,
_can_go_back: c_int,
_can_go_forward: c_int,
)
fn on_loading_state_change( &self, _browser: Option<&mut Browser>, _is_loading: c_int, _can_go_back: c_int, _can_go_forward: c_int, )
See
_cef_load_handler_t::on_loading_state_change for more documentation.Source§fn on_load_start(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
_transition_type: TransitionType,
)
fn on_load_start( &self, browser: Option<&mut Browser>, frame: Option<&mut Frame>, _transition_type: TransitionType, )
See
_cef_load_handler_t::on_load_start for more documentation.Source§fn on_load_end(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
http_status_code: c_int,
)
fn on_load_end( &self, browser: Option<&mut Browser>, frame: Option<&mut Frame>, http_status_code: c_int, )
See
_cef_load_handler_t::on_load_end for more documentation.Source§fn on_load_error(
&self,
_browser: Option<&mut Browser>,
_frame: Option<&mut Frame>,
error_code: Errorcode,
error_text: Option<&CefString>,
failed_url: Option<&CefString>,
)
fn on_load_error( &self, _browser: Option<&mut Browser>, _frame: Option<&mut Frame>, error_code: Errorcode, error_text: Option<&CefString>, failed_url: Option<&CefString>, )
See
_cef_load_handler_t::on_load_error for more documentation.fn init_methods(object: &mut _cef_load_handler_t)
Source§impl Rc for TabLoadHandler
impl Rc for TabLoadHandler
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.Source§impl WrapLoadHandler for TabLoadHandler
impl WrapLoadHandler for TabLoadHandler
Auto Trait Implementations§
impl Freeze for TabLoadHandler
impl !RefUnwindSafe for TabLoadHandler
impl !Send for TabLoadHandler
impl !Sync for TabLoadHandler
impl Unpin for TabLoadHandler
impl !UnwindSafe for TabLoadHandler
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