webview2_com_sys::Microsoft::Web::WebView2::Win32

Trait ICoreWebView2NewWindowRequestedEventArgs_Impl

Source
pub trait ICoreWebView2NewWindowRequestedEventArgs_Impl: IUnknownImpl {
    // Required methods
    fn Uri(&self, uri: *mut PWSTR) -> Result<()>;
    fn SetNewWindow(&self, newwindow: Ref<'_, ICoreWebView2>) -> Result<()>;
    fn NewWindow(&self) -> Result<ICoreWebView2>;
    fn SetHandled(&self, handled: BOOL) -> Result<()>;
    fn Handled(&self, handled: *mut BOOL) -> Result<()>;
    fn IsUserInitiated(&self, isuserinitiated: *mut BOOL) -> Result<()>;
    fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>;
    fn WindowFeatures(&self) -> Result<ICoreWebView2WindowFeatures>;
}

Required Methods§

Source

fn Uri(&self, uri: *mut PWSTR) -> Result<()>

Source

fn SetNewWindow(&self, newwindow: Ref<'_, ICoreWebView2>) -> Result<()>

Source

fn NewWindow(&self) -> Result<ICoreWebView2>

Source

fn SetHandled(&self, handled: BOOL) -> Result<()>

Source

fn Handled(&self, handled: *mut BOOL) -> Result<()>

Source

fn IsUserInitiated(&self, isuserinitiated: *mut BOOL) -> Result<()>

Source

fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>

Source

fn WindowFeatures(&self) -> Result<ICoreWebView2WindowFeatures>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§