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