Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2AcceleratorKeyPressedEventArgs
source · [−]#[repr(transparent)]pub struct ICoreWebView2AcceleratorKeyPressedEventArgs(_);
Implementations
sourceimpl ICoreWebView2AcceleratorKeyPressedEventArgs
impl ICoreWebView2AcceleratorKeyPressedEventArgs
pub unsafe fn KeyEventKind(
&self,
keyeventkind: *mut COREWEBVIEW2_KEY_EVENT_KIND
) -> Result<()>
pub unsafe fn VirtualKey(&self, virtualkey: *mut u32) -> Result<()>
pub unsafe fn KeyEventLParam(&self, lparam: *mut i32) -> Result<()>
pub unsafe fn PhysicalKeyStatus(
&self,
physicalkeystatus: *mut COREWEBVIEW2_PHYSICAL_KEY_STATUS
) -> Result<()>
pub unsafe fn Handled(&self, handled: *mut BOOL) -> Result<()>
pub unsafe fn SetHandled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
handled: Param0
) -> Result<()>
Trait Implementations
sourceimpl From<&'_ ICoreWebView2AcceleratorKeyPressedEventArgs> for IUnknown
impl From<&'_ ICoreWebView2AcceleratorKeyPressedEventArgs> for IUnknown
sourcefn from(value: &ICoreWebView2AcceleratorKeyPressedEventArgs) -> Self
fn from(value: &ICoreWebView2AcceleratorKeyPressedEventArgs) -> Self
Performs the conversion.
sourceimpl From<ICoreWebView2AcceleratorKeyPressedEventArgs> for IUnknown
impl From<ICoreWebView2AcceleratorKeyPressedEventArgs> for IUnknown
sourcefn from(value: ICoreWebView2AcceleratorKeyPressedEventArgs) -> Self
fn from(value: ICoreWebView2AcceleratorKeyPressedEventArgs) -> Self
Performs the conversion.
sourceimpl Interface for ICoreWebView2AcceleratorKeyPressedEventArgs
impl Interface for ICoreWebView2AcceleratorKeyPressedEventArgs
sourceimpl PartialEq<ICoreWebView2AcceleratorKeyPressedEventArgs> for ICoreWebView2AcceleratorKeyPressedEventArgs
impl PartialEq<ICoreWebView2AcceleratorKeyPressedEventArgs> for ICoreWebView2AcceleratorKeyPressedEventArgs
impl Eq for ICoreWebView2AcceleratorKeyPressedEventArgs
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2AcceleratorKeyPressedEventArgs
impl !Send for ICoreWebView2AcceleratorKeyPressedEventArgs
impl !Sync for ICoreWebView2AcceleratorKeyPressedEventArgs
impl Unpin for ICoreWebView2AcceleratorKeyPressedEventArgs
impl UnwindSafe for ICoreWebView2AcceleratorKeyPressedEventArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
impl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
type DefaultType = Option<T>
sourcepub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
pub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
Safety
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more