pub struct WindowCloseRequestedEventHandler(_);
Expand description
Implementation of ICoreWebView2WindowCloseRequestedEventHandler
.
Implementations
sourceimpl WindowCloseRequestedEventHandler
impl WindowCloseRequestedEventHandler
pub fn create(
closure: EventClosure<Option<ICoreWebView2>, Option<IUnknown>>
) -> ICoreWebView2WindowCloseRequestedEventHandler
Trait Implementations
sourceimpl From<&'_ mut WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
impl From<&'_ mut WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
sourcefn from(implementation: &mut WindowCloseRequestedEventHandler) -> Self
fn from(implementation: &mut WindowCloseRequestedEventHandler) -> Self
Performs the conversion.
sourceimpl From<WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
impl From<WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
sourcefn from(implementation: WindowCloseRequestedEventHandler) -> Self
fn from(implementation: WindowCloseRequestedEventHandler) -> Self
Performs the conversion.
sourceimpl From<WindowCloseRequestedEventHandler> for IUnknown
impl From<WindowCloseRequestedEventHandler> for IUnknown
sourcefn from(implementation: WindowCloseRequestedEventHandler) -> Self
fn from(implementation: WindowCloseRequestedEventHandler) -> Self
Performs the conversion.
sourceimpl From<WindowCloseRequestedEventHandler> for IInspectable
impl From<WindowCloseRequestedEventHandler> for IInspectable
sourcefn from(implementation: WindowCloseRequestedEventHandler) -> Self
fn from(implementation: WindowCloseRequestedEventHandler) -> Self
Performs the conversion.
sourceimpl ToImpl<ICoreWebView2WindowCloseRequestedEventHandler> for WindowCloseRequestedEventHandler
impl ToImpl<ICoreWebView2WindowCloseRequestedEventHandler> for WindowCloseRequestedEventHandler
sourceunsafe fn to_impl(
interface: &ICoreWebView2WindowCloseRequestedEventHandler
) -> &mut Self
unsafe fn to_impl(
interface: &ICoreWebView2WindowCloseRequestedEventHandler
) -> &mut Self
Safety
Auto Trait Implementations
impl !RefUnwindSafe for WindowCloseRequestedEventHandler
impl !Send for WindowCloseRequestedEventHandler
impl !Sync for WindowCloseRequestedEventHandler
impl Unpin for WindowCloseRequestedEventHandler
impl !UnwindSafe for WindowCloseRequestedEventHandler
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