Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2ContextMenuTarget
source · [−]#[repr(transparent)]pub struct ICoreWebView2ContextMenuTarget(_);
Implementations
sourceimpl ICoreWebView2ContextMenuTarget
impl ICoreWebView2ContextMenuTarget
pub unsafe fn Kind(
&self,
value: *mut COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND
) -> Result<()>
pub unsafe fn IsEditable(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn IsRequestedForMainFrame(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn PageUri(&self, value: *mut PWSTR) -> Result<()>
pub unsafe fn FrameUri(&self, value: *mut PWSTR) -> Result<()>
pub unsafe fn HasLinkUri(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn LinkUri(&self, value: *mut PWSTR) -> Result<()>
pub unsafe fn HasLinkText(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn LinkText(&self, value: *mut PWSTR) -> Result<()>
pub unsafe fn HasSourceUri(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn SourceUri(&self, value: *mut PWSTR) -> Result<()>
pub unsafe fn HasSelection(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn SelectionText(&self, value: *mut PWSTR) -> Result<()>
Trait Implementations
sourceimpl From<&'_ ICoreWebView2ContextMenuTarget> for IUnknown
impl From<&'_ ICoreWebView2ContextMenuTarget> for IUnknown
sourcefn from(value: &ICoreWebView2ContextMenuTarget) -> Self
fn from(value: &ICoreWebView2ContextMenuTarget) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2ContextMenuTarget> for IUnknown
impl From<ICoreWebView2ContextMenuTarget> for IUnknown
sourcefn from(value: ICoreWebView2ContextMenuTarget) -> Self
fn from(value: ICoreWebView2ContextMenuTarget) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2ContextMenuTarget
impl Interface for ICoreWebView2ContextMenuTarget
impl Eq for ICoreWebView2ContextMenuTarget
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2ContextMenuTarget
impl !Send for ICoreWebView2ContextMenuTarget
impl !Sync for ICoreWebView2ContextMenuTarget
impl Unpin for ICoreWebView2ContextMenuTarget
impl UnwindSafe for ICoreWebView2ContextMenuTarget
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