Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2NavigationStartingEventArgs2
source · [−]#[repr(transparent)]pub struct ICoreWebView2NavigationStartingEventArgs2(_);
Implementations
pub unsafe fn Uri(&self, uri: *mut PWSTR) -> Result<(), Error>
pub unsafe fn IsUserInitiated(
&self,
isuserinitiated: *mut BOOL
) -> Result<(), Error>
pub unsafe fn IsRedirected(&self, isredirected: *mut BOOL) -> Result<(), Error>
pub unsafe fn RequestHeaders(
&self
) -> Result<ICoreWebView2HttpRequestHeaders, Error>
pub unsafe fn Cancel(&self, cancel: *mut BOOL) -> Result<(), Error>
pub unsafe fn SetCancel<P0>(&self, cancel: P0) -> Result<(), Error> where
P0: Into<BOOL>,
pub unsafe fn AdditionalAllowedFrameAncestors(
&self,
value: *mut PWSTR
) -> Result<(), Error>
pub unsafe fn SetAdditionalAllowedFrameAncestors<P0>(
&self,
value: P0
) -> Result<(), Error> where
P0: Into<PCWSTR>,
Trait Implementations
sourcefn clone(&self) -> ICoreWebView2NavigationStartingEventArgs2
fn clone(&self) -> ICoreWebView2NavigationStartingEventArgs2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourcefn from(
value: &'a ICoreWebView2NavigationStartingEventArgs2
) -> &'a ICoreWebView2NavigationStartingEventArgs
fn from(
value: &'a ICoreWebView2NavigationStartingEventArgs2
) -> &'a ICoreWebView2NavigationStartingEventArgs
Converts to this type from the input type.
sourcefn from(
value: &ICoreWebView2NavigationStartingEventArgs2
) -> ICoreWebView2NavigationStartingEventArgs
fn from(
value: &ICoreWebView2NavigationStartingEventArgs2
) -> ICoreWebView2NavigationStartingEventArgs
Converts to this type from the input type.
sourcefn from(
value: ICoreWebView2NavigationStartingEventArgs2
) -> ICoreWebView2NavigationStartingEventArgs
fn from(
value: ICoreWebView2NavigationStartingEventArgs2
) -> ICoreWebView2NavigationStartingEventArgs
Converts to this type from the input type.
sourceconst IID: GUID = ::windows::core::GUID::from_u128(192108464521517315958259533343983929005)
const IID: GUID = ::windows::core::GUID::from_u128(192108464521517315958259533343983929005)
A unique identifier representing this interface.
sourcefn eq(&self, other: &ICoreWebView2NavigationStartingEventArgs2) -> bool
fn eq(&self, other: &ICoreWebView2NavigationStartingEventArgs2) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more