pub struct AcceleratorKeyPressedEventArgs { /* private fields */ }
Expand description
Wrapper for ICoreWebView2AcceleratorKeyPressedEventArgs
.
Implementations§
Source§impl AcceleratorKeyPressedEventArgs
impl AcceleratorKeyPressedEventArgs
pub fn into_inner( self, ) -> ComRc<dyn ICoreWebView2AcceleratorKeyPressedEventArgs>
pub fn as_inner( &self, ) -> &ComRc<dyn ICoreWebView2AcceleratorKeyPressedEventArgs>
Source§impl AcceleratorKeyPressedEventArgs
impl AcceleratorKeyPressedEventArgs
pub fn get_key_event_kind(&self) -> Result<KeyEventKind>
pub fn get_virtual_key(&self) -> Result<u32>
pub fn get_key_event_lparam(&self) -> Result<i32>
pub fn get_physical_key_status(&self) -> Result<PhysicalKeyStatus>
pub fn get_handled(&self) -> Result<bool>
pub fn put_handled(&self, enabled: bool) -> Result<()>
Trait Implementations§
Source§impl Clone for AcceleratorKeyPressedEventArgs
impl Clone for AcceleratorKeyPressedEventArgs
Source§fn clone(&self) -> AcceleratorKeyPressedEventArgs
fn clone(&self) -> AcceleratorKeyPressedEventArgs
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 From<ComRc<dyn ICoreWebView2AcceleratorKeyPressedEventArgs>> for AcceleratorKeyPressedEventArgs
impl From<ComRc<dyn ICoreWebView2AcceleratorKeyPressedEventArgs>> for AcceleratorKeyPressedEventArgs
Source§fn from(inner: ComRc<dyn ICoreWebView2AcceleratorKeyPressedEventArgs>) -> Self
fn from(inner: ComRc<dyn ICoreWebView2AcceleratorKeyPressedEventArgs>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AcceleratorKeyPressedEventArgs
impl !RefUnwindSafe for AcceleratorKeyPressedEventArgs
impl !Send for AcceleratorKeyPressedEventArgs
impl !Sync for AcceleratorKeyPressedEventArgs
impl !Unpin for AcceleratorKeyPressedEventArgs
impl !UnwindSafe for AcceleratorKeyPressedEventArgs
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