pub struct FocusHandler(/* private fields */);Expand description
See _cef_focus_handler_t for more documentation.
Implementations§
Source§impl FocusHandler
impl FocusHandler
pub fn new<T>(interface: T) -> Selfwhere
T: WrapFocusHandler,
Trait Implementations§
Source§impl Clone for FocusHandler
impl Clone for FocusHandler
Source§fn clone(&self) -> FocusHandler
fn clone(&self) -> FocusHandler
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_focus_handler_t> for &FocusHandler
impl ConvertParam<*mut _cef_focus_handler_t> for &FocusHandler
fn into_raw(self) -> *mut _cef_focus_handler_t
Source§impl ConvertParam<*mut _cef_focus_handler_t> for &mut FocusHandler
impl ConvertParam<*mut _cef_focus_handler_t> for &mut FocusHandler
fn into_raw(self) -> *mut _cef_focus_handler_t
Source§impl ConvertReturnValue<FocusHandler> for *mut _cef_focus_handler_t
impl ConvertReturnValue<FocusHandler> for *mut _cef_focus_handler_t
fn wrap_result(self) -> FocusHandler
Source§impl From<FocusHandler> for *mut _cef_focus_handler_t
impl From<FocusHandler> for *mut _cef_focus_handler_t
Source§fn from(value: FocusHandler) -> Self
fn from(value: FocusHandler) -> Self
Converts to this type from the input type.
Source§impl ImplFocusHandler for FocusHandler
impl ImplFocusHandler for FocusHandler
Source§fn on_take_focus(&self, browser: Option<&mut Browser>, next: c_int)
fn on_take_focus(&self, browser: Option<&mut Browser>, next: c_int)
See
_cef_focus_handler_t::on_take_focus for more documentation.Source§fn on_set_focus(
&self,
browser: Option<&mut Browser>,
source: FocusSource,
) -> c_int
fn on_set_focus( &self, browser: Option<&mut Browser>, source: FocusSource, ) -> c_int
See
_cef_focus_handler_t::on_set_focus for more documentation.Source§fn on_got_focus(&self, browser: Option<&mut Browser>)
fn on_got_focus(&self, browser: Option<&mut Browser>)
See
_cef_focus_handler_t::on_got_focus for more documentation.fn get_raw(&self) -> *mut _cef_focus_handler_t
fn init_methods(object: &mut _cef_focus_handler_t)
Source§impl Rc for FocusHandler
impl Rc for FocusHandler
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 FocusHandler
impl RefUnwindSafe for FocusHandler
impl Send for FocusHandler
impl Sync for FocusHandler
impl Unpin for FocusHandler
impl UnwindSafe for FocusHandler
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