pub struct WindowCloseRequestedEventHandler(/* private fields */);
Expand description
Implementation of ICoreWebView2WindowCloseRequestedEventHandler_Impl
.
Implementations§
source§impl WindowCloseRequestedEventHandler
impl WindowCloseRequestedEventHandler
pub fn create( closure: EventClosure<Option<ICoreWebView2>, Option<IUnknown>>, ) -> ICoreWebView2WindowCloseRequestedEventHandler
Trait Implementations§
source§impl AsImpl<WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
impl AsImpl<WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
source§impl ComObjectInner for WindowCloseRequestedEventHandler
impl ComObjectInner for WindowCloseRequestedEventHandler
§type Outer = WindowCloseRequestedEventHandler_Impl
type Outer = WindowCloseRequestedEventHandler_Impl
The generated
<foo>_Impl
type (aka the “boxed” type or “outer” type).source§fn into_object(self) -> ComObject<Self>
fn into_object(self) -> ComObject<Self>
Moves an instance of this type into a new ComObject box and returns it. Read more
source§impl From<WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
impl From<WindowCloseRequestedEventHandler> for ICoreWebView2WindowCloseRequestedEventHandler
source§fn from(this: WindowCloseRequestedEventHandler) -> Self
fn from(this: WindowCloseRequestedEventHandler) -> Self
Converts to this type from the input type.
source§impl From<WindowCloseRequestedEventHandler> for IInspectable
impl From<WindowCloseRequestedEventHandler> for IInspectable
source§fn from(this: WindowCloseRequestedEventHandler) -> Self
fn from(this: WindowCloseRequestedEventHandler) -> Self
Converts to this type from the input type.
source§impl From<WindowCloseRequestedEventHandler> for IUnknown
impl From<WindowCloseRequestedEventHandler> for IUnknown
source§fn from(this: WindowCloseRequestedEventHandler) -> Self
fn from(this: WindowCloseRequestedEventHandler) -> Self
Converts to this type from the input type.
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