struct AgentMuxKeyboardHandler {
cef_object: *mut RcImpl<_cef_keyboard_handler_t, Self>,
}Fields§
§cef_object: *mut RcImpl<_cef_keyboard_handler_t, Self>Implementations§
Trait Implementations§
Source§impl Clone for AgentMuxKeyboardHandler
impl Clone for AgentMuxKeyboardHandler
Source§impl ImplKeyboardHandler for AgentMuxKeyboardHandler
impl ImplKeyboardHandler for AgentMuxKeyboardHandler
Source§fn on_pre_key_event(
&self,
_browser: Option<&mut Browser>,
event: Option<&KeyEvent>,
_os_event: Option<&mut OsKeyEvent>,
is_keyboard_shortcut: Option<&mut c_int>,
) -> c_int
fn on_pre_key_event( &self, _browser: Option<&mut Browser>, event: Option<&KeyEvent>, _os_event: Option<&mut OsKeyEvent>, is_keyboard_shortcut: Option<&mut c_int>, ) -> c_int
See [
_cef_keyboard_handler_t::on_pre_key_event] for more documentation.fn get_raw(&self) -> *mut _cef_keyboard_handler_t
§fn on_key_event(
&self,
browser: Option<&mut Browser>,
event: Option<&KeyEvent>,
os_event: Option<&mut tagMSG>,
) -> i32
fn on_key_event( &self, browser: Option<&mut Browser>, event: Option<&KeyEvent>, os_event: Option<&mut tagMSG>, ) -> i32
See [
_cef_keyboard_handler_t::on_key_event] for more documentation.fn init_methods(object: &mut _cef_keyboard_handler_t)
Source§impl Rc for AgentMuxKeyboardHandler
impl Rc for AgentMuxKeyboardHandler
§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 more§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.§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 AgentMuxKeyboardHandler
impl RefUnwindSafe for AgentMuxKeyboardHandler
impl !Send for AgentMuxKeyboardHandler
impl !Sync for AgentMuxKeyboardHandler
impl Unpin for AgentMuxKeyboardHandler
impl UnwindSafe for AgentMuxKeyboardHandler
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, U> ConvertReturnValue<U> for Twhere
T: Into<U>,
impl<T, U> ConvertReturnValue<U> for Twhere
T: Into<U>,
fn wrap_result(self) -> U
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.