pub struct NavigationStartingEventArgs { /* private fields */ }
Expand description
Wrapper for ICoreWebView2NavigationStartingEventArgs
.
Implementations§
pub fn into_inner(self) -> ComRc<dyn ICoreWebView2NavigationStartingEventArgs>
pub fn as_inner(&self) -> &ComRc<dyn ICoreWebView2NavigationStartingEventArgs>
pub fn get_uri(&self) -> Result<String>
pub fn get_is_user_initiated(&self) -> Result<bool>
pub fn get_is_redirected(&self) -> Result<bool>
pub fn get_request_headers(&self) -> Result<HttpRequestHeaders>
pub fn get_cancel(&self) -> Result<bool>
pub fn put_cancel(&self, enabled: bool) -> Result<()>
Trait Implementations§
Source§fn clone(&self) -> NavigationStartingEventArgs
fn clone(&self) -> NavigationStartingEventArgs
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(inner: ComRc<dyn ICoreWebView2NavigationStartingEventArgs>) -> Self
fn from(inner: ComRc<dyn ICoreWebView2NavigationStartingEventArgs>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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