pub struct LoadHandler(/* private fields */);Expand description
See _cef_load_handler_t for more documentation.
Implementations§
Source§impl LoadHandler
impl LoadHandler
pub fn new<T>(interface: T) -> Selfwhere
T: WrapLoadHandler,
Trait Implementations§
Source§impl Clone for LoadHandler
impl Clone for LoadHandler
Source§fn clone(&self) -> LoadHandler
fn clone(&self) -> LoadHandler
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_load_handler_t> for &LoadHandler
impl ConvertParam<*mut _cef_load_handler_t> for &LoadHandler
fn into_raw(self) -> *mut _cef_load_handler_t
Source§impl ConvertParam<*mut _cef_load_handler_t> for &mut LoadHandler
impl ConvertParam<*mut _cef_load_handler_t> for &mut LoadHandler
fn into_raw(self) -> *mut _cef_load_handler_t
Source§impl ConvertReturnValue<LoadHandler> for *mut _cef_load_handler_t
impl ConvertReturnValue<LoadHandler> for *mut _cef_load_handler_t
fn wrap_result(self) -> LoadHandler
Source§impl From<LoadHandler> for *mut _cef_load_handler_t
impl From<LoadHandler> for *mut _cef_load_handler_t
Source§fn from(value: LoadHandler) -> Self
fn from(value: LoadHandler) -> Self
Converts to this type from the input type.
Source§impl ImplLoadHandler for LoadHandler
impl ImplLoadHandler for LoadHandler
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 get_raw(&self) -> *mut _cef_load_handler_t
fn init_methods(object: &mut _cef_load_handler_t)
Source§impl Rc for LoadHandler
impl Rc for LoadHandler
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 LoadHandler
impl RefUnwindSafe for LoadHandler
impl Send for LoadHandler
impl Sync for LoadHandler
impl Unpin for LoadHandler
impl UnwindSafe for LoadHandler
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