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