Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2PermissionRequestedEventHandler
source · [−]#[repr(transparent)]pub struct ICoreWebView2PermissionRequestedEventHandler(_);
Implementations
sourceimpl ICoreWebView2PermissionRequestedEventHandler
impl ICoreWebView2PermissionRequestedEventHandler
pub unsafe fn Invoke<'a, Param0, Param1>(
&self,
sender: Param0,
args: Param1
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2>,
Param1: IntoParam<'a, ICoreWebView2PermissionRequestedEventArgs>,
Trait Implementations
sourceimpl Clone for ICoreWebView2PermissionRequestedEventHandler
impl Clone for ICoreWebView2PermissionRequestedEventHandler
sourcepub fn clone(&self) -> ICoreWebView2PermissionRequestedEventHandler
pub fn clone(&self) -> ICoreWebView2PermissionRequestedEventHandler
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl From<&'_ mut PermissionRequestedEventHandler> for ICoreWebView2PermissionRequestedEventHandler
impl From<&'_ mut PermissionRequestedEventHandler> for ICoreWebView2PermissionRequestedEventHandler
sourcefn from(implementation: &mut PermissionRequestedEventHandler) -> Self
fn from(implementation: &mut PermissionRequestedEventHandler) -> Self
Performs the conversion.
sourceimpl From<PermissionRequestedEventHandler> for ICoreWebView2PermissionRequestedEventHandler
impl From<PermissionRequestedEventHandler> for ICoreWebView2PermissionRequestedEventHandler
sourcefn from(implementation: PermissionRequestedEventHandler) -> Self
fn from(implementation: PermissionRequestedEventHandler) -> Self
Performs the conversion.
sourceimpl Interface for ICoreWebView2PermissionRequestedEventHandler
impl Interface for ICoreWebView2PermissionRequestedEventHandler
type Vtable = ICoreWebView2PermissionRequestedEventHandlerVtbl
sourceimpl PartialEq<ICoreWebView2PermissionRequestedEventHandler> for ICoreWebView2PermissionRequestedEventHandler
impl PartialEq<ICoreWebView2PermissionRequestedEventHandler> for ICoreWebView2PermissionRequestedEventHandler
sourceimpl ToImpl<ICoreWebView2PermissionRequestedEventHandler> for PermissionRequestedEventHandler
impl ToImpl<ICoreWebView2PermissionRequestedEventHandler> for PermissionRequestedEventHandler
sourceunsafe fn to_impl(
interface: &ICoreWebView2PermissionRequestedEventHandler
) -> &mut Self
unsafe fn to_impl(
interface: &ICoreWebView2PermissionRequestedEventHandler
) -> &mut Self
Safety
impl Eq for ICoreWebView2PermissionRequestedEventHandler
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2PermissionRequestedEventHandler
impl !Send for ICoreWebView2PermissionRequestedEventHandler
impl !Sync for ICoreWebView2PermissionRequestedEventHandler
impl Unpin for ICoreWebView2PermissionRequestedEventHandler
impl UnwindSafe for ICoreWebView2PermissionRequestedEventHandler
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