Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2ContextMenuItemCollection
source · [−]#[repr(transparent)]pub struct ICoreWebView2ContextMenuItemCollection(_);
Implementations
sourceimpl ICoreWebView2ContextMenuItemCollection
impl ICoreWebView2ContextMenuItemCollection
pub unsafe fn Count(&self, value: *mut u32) -> Result<()>
pub unsafe fn GetValueAtIndex(
&self,
index: u32
) -> Result<ICoreWebView2ContextMenuItem>
pub unsafe fn RemoveValueAtIndex(&self, index: u32) -> Result<()>
pub unsafe fn InsertValueAtIndex<'a, Param1: IntoParam<'a, ICoreWebView2ContextMenuItem>>(
&self,
index: u32,
value: Param1
) -> Result<()>
Trait Implementations
sourceimpl From<&'_ ICoreWebView2ContextMenuItemCollection> for IUnknown
impl From<&'_ ICoreWebView2ContextMenuItemCollection> for IUnknown
sourcefn from(value: &ICoreWebView2ContextMenuItemCollection) -> Self
fn from(value: &ICoreWebView2ContextMenuItemCollection) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2ContextMenuItemCollection> for IUnknown
impl From<ICoreWebView2ContextMenuItemCollection> for IUnknown
sourcefn from(value: ICoreWebView2ContextMenuItemCollection) -> Self
fn from(value: ICoreWebView2ContextMenuItemCollection) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2ContextMenuItemCollection
impl Interface for ICoreWebView2ContextMenuItemCollection
sourceimpl PartialEq<ICoreWebView2ContextMenuItemCollection> for ICoreWebView2ContextMenuItemCollection
impl PartialEq<ICoreWebView2ContextMenuItemCollection> for ICoreWebView2ContextMenuItemCollection
impl Eq for ICoreWebView2ContextMenuItemCollection
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2ContextMenuItemCollection
impl !Send for ICoreWebView2ContextMenuItemCollection
impl !Sync for ICoreWebView2ContextMenuItemCollection
impl Unpin for ICoreWebView2ContextMenuItemCollection
impl UnwindSafe for ICoreWebView2ContextMenuItemCollection
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