pub struct WindowCloseRequestedEventHandler(/* private fields */);
Expand description
Implementation of ICoreWebView2WindowCloseRequestedEventHandler
.
Implementations§
Source§impl WindowCloseRequestedEventHandler
impl WindowCloseRequestedEventHandler
pub fn create( closure: EventClosure<Option<ICoreWebView2>, Option<IUnknown>>, ) -> ICoreWebView2WindowCloseRequestedEventHandler
Trait Implementations§
Source§impl From<&mut WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
impl From<&mut WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
Source§fn from(implementation: &mut WindowCloseRequestedEventHandler) -> Self
fn from(implementation: &mut WindowCloseRequestedEventHandler) -> Self
Converts to this type from the input type.
Source§impl From<WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
impl From<WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
Source§fn from(implementation: WindowCloseRequestedEventHandler) -> Self
fn from(implementation: WindowCloseRequestedEventHandler) -> Self
Converts to this type from the input type.
Source§impl From<WindowCloseRequestedEventHandler> for IInspectable
impl From<WindowCloseRequestedEventHandler> for IInspectable
Source§fn from(implementation: WindowCloseRequestedEventHandler) -> Self
fn from(implementation: WindowCloseRequestedEventHandler) -> Self
Converts to this type from the input type.
Source§impl From<WindowCloseRequestedEventHandler> for IUnknown
impl From<WindowCloseRequestedEventHandler> for IUnknown
Source§fn from(implementation: WindowCloseRequestedEventHandler) -> Self
fn from(implementation: WindowCloseRequestedEventHandler) -> Self
Converts to this type from the input type.
Source§impl ToImpl<ICoreWebView2WindowCloseRequestedEventHandler> for WindowCloseRequestedEventHandler
impl ToImpl<ICoreWebView2WindowCloseRequestedEventHandler> for WindowCloseRequestedEventHandler
Source§unsafe fn to_impl(
interface: &ICoreWebView2WindowCloseRequestedEventHandler,
) -> &mut Self
unsafe fn to_impl( interface: &ICoreWebView2WindowCloseRequestedEventHandler, ) -> &mut Self
Safety Read more
Auto Trait Implementations§
impl Freeze for WindowCloseRequestedEventHandler
impl !RefUnwindSafe for WindowCloseRequestedEventHandler
impl !Send for WindowCloseRequestedEventHandler
impl !Sync for WindowCloseRequestedEventHandler
impl Unpin for WindowCloseRequestedEventHandler
impl !UnwindSafe for WindowCloseRequestedEventHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more