[][src]Struct webview2::NavigationStartingEventArgs

pub struct NavigationStartingEventArgs { /* fields omitted */ }

Wrapper for ICoreWebView2NavigationStartingEventArgs.

Methods

impl NavigationStartingEventArgs[src]

impl NavigationStartingEventArgs[src]

pub fn get_uri(&self) -> Result<String>[src]

pub fn get_is_user_initiated(&self) -> Result<bool>[src]

pub fn get_is_redirected(&self) -> Result<bool>[src]

pub fn get_request_headers(&self) -> Result<HttpRequestHeaders>[src]

pub fn get_cancel(&self) -> Result<bool>[src]

pub fn put_cancel(&self, enabled: bool) -> Result<()>[src]

pub fn get_navigation_id(&self) -> Result<u64>[src]

Trait Implementations

impl Clone for NavigationStartingEventArgs[src]

impl Debug for NavigationStartingEventArgs[src]

impl From<ComRc<dyn ICoreWebView2NavigationStartingEventArgs + 'static>> for NavigationStartingEventArgs[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.