pub struct CoreWebView2NavigationStartingEventArgs(/* private fields */);
Implementations§
pub fn Uri(&self) -> Result<HString>
pub fn IsUserInitiated(&self) -> Result<bool>
pub fn IsRedirected(&self) -> Result<bool>
pub fn RequestHeaders(&self) -> Result<CoreWebView2HttpRequestHeaders>
pub fn Cancel(&self) -> Result<bool>
pub fn SetCancel(&self, value: bool) -> Result<()>
Trait Implementations§
Source§fn clone(&self) -> CoreWebView2NavigationStartingEventArgs
fn clone(&self) -> CoreWebView2NavigationStartingEventArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§fn from(value: &CoreWebView2NavigationStartingEventArgs) -> Self
fn from(value: &CoreWebView2NavigationStartingEventArgs) -> Self
Converts to this type from the input type.
Source§fn from(value: CoreWebView2NavigationStartingEventArgs) -> Self
fn from(value: CoreWebView2NavigationStartingEventArgs) -> Self
Converts to this type from the input type.
const IID: Guid
type Vtable = ICoreWebView2NavigationStartingEventArgs_abi
fn into_param(self) -> Param<'a, Object>
fn into_param(self) -> Param<'a, Object>
Source§fn eq(&self, other: &CoreWebView2NavigationStartingEventArgs) -> bool
fn eq(&self, other: &CoreWebView2NavigationStartingEventArgs) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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