Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2ContextMenuRequestedEventArgs
source · [−]#[repr(transparent)]pub struct ICoreWebView2ContextMenuRequestedEventArgs(_);
Implementations
sourceimpl ICoreWebView2ContextMenuRequestedEventArgs
impl ICoreWebView2ContextMenuRequestedEventArgs
pub unsafe fn MenuItems(&self) -> Result<ICoreWebView2ContextMenuItemCollection>
pub unsafe fn ContextMenuTarget(&self) -> Result<ICoreWebView2ContextMenuTarget>
pub unsafe fn Location(&self, value: *mut POINT) -> Result<()>
pub unsafe fn SetSelectedCommandId(&self, value: i32) -> Result<()>
pub unsafe fn SelectedCommandId(&self, value: *mut i32) -> Result<()>
pub unsafe fn SetHandled<'a, Param0: IntoParam<'a, BOOL>>(
&self,
value: Param0
) -> Result<()>
pub unsafe fn Handled(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>
Trait Implementations
sourceimpl From<&'_ ICoreWebView2ContextMenuRequestedEventArgs> for IUnknown
impl From<&'_ ICoreWebView2ContextMenuRequestedEventArgs> for IUnknown
sourcefn from(value: &ICoreWebView2ContextMenuRequestedEventArgs) -> Self
fn from(value: &ICoreWebView2ContextMenuRequestedEventArgs) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2ContextMenuRequestedEventArgs> for IUnknown
impl From<ICoreWebView2ContextMenuRequestedEventArgs> for IUnknown
sourcefn from(value: ICoreWebView2ContextMenuRequestedEventArgs) -> Self
fn from(value: ICoreWebView2ContextMenuRequestedEventArgs) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2ContextMenuRequestedEventArgs
impl Interface for ICoreWebView2ContextMenuRequestedEventArgs
sourceimpl PartialEq<ICoreWebView2ContextMenuRequestedEventArgs> for ICoreWebView2ContextMenuRequestedEventArgs
impl PartialEq<ICoreWebView2ContextMenuRequestedEventArgs> for ICoreWebView2ContextMenuRequestedEventArgs
impl Eq for ICoreWebView2ContextMenuRequestedEventArgs
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2ContextMenuRequestedEventArgs
impl !Send for ICoreWebView2ContextMenuRequestedEventArgs
impl !Sync for ICoreWebView2ContextMenuRequestedEventArgs
impl Unpin for ICoreWebView2ContextMenuRequestedEventArgs
impl UnwindSafe for ICoreWebView2ContextMenuRequestedEventArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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>
sourceunsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
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.
sourcefn clone_into(&self, target: &mut T)
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