Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2NavigationStartingEventArgs2
source · [−]#[repr(transparent)]pub struct ICoreWebView2NavigationStartingEventArgs2(_);
Implementations
sourceimpl ICoreWebView2NavigationStartingEventArgs2
impl ICoreWebView2NavigationStartingEventArgs2
pub unsafe fn Uri(&self, uri: *mut PWSTR) -> Result<()>
pub unsafe fn IsUserInitiated(&self, isuserinitiated: *mut BOOL) -> Result<()>
pub unsafe fn IsRedirected(&self, isredirected: *mut BOOL) -> Result<()>
pub unsafe fn RequestHeaders(&self) -> Result<ICoreWebView2HttpRequestHeaders>
pub unsafe fn Cancel(&self, cancel: *mut BOOL) -> Result<()>
pub unsafe fn SetCancel<'a, Param0: IntoParam<'a, BOOL>>(
&self,
cancel: Param0
) -> Result<()>
pub unsafe fn AdditionalAllowedFrameAncestors(
&self,
value: *mut PWSTR
) -> Result<()>
pub unsafe fn SetAdditionalAllowedFrameAncestors<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
value: Param0
) -> Result<()>
Trait Implementations
sourcefn from(value: &ICoreWebView2NavigationStartingEventArgs2) -> Self
fn from(value: &ICoreWebView2NavigationStartingEventArgs2) -> Self
Converts to this type from the input type.
sourcefn from(value: &ICoreWebView2NavigationStartingEventArgs2) -> Self
fn from(value: &ICoreWebView2NavigationStartingEventArgs2) -> Self
Converts to this type from the input type.
sourcefn from(value: ICoreWebView2NavigationStartingEventArgs2) -> Self
fn from(value: ICoreWebView2NavigationStartingEventArgs2) -> Self
Converts to this type from the input type.
sourcefn from(value: ICoreWebView2NavigationStartingEventArgs2) -> Self
fn from(value: ICoreWebView2NavigationStartingEventArgs2) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2NavigationStartingEventArgs2
impl Interface for ICoreWebView2NavigationStartingEventArgs2
impl Eq for ICoreWebView2NavigationStartingEventArgs2
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2NavigationStartingEventArgs2
impl !Send for ICoreWebView2NavigationStartingEventArgs2
impl !Sync for ICoreWebView2NavigationStartingEventArgs2
impl Unpin for ICoreWebView2NavigationStartingEventArgs2
impl UnwindSafe for ICoreWebView2NavigationStartingEventArgs2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
impl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
type DefaultType = Option<T>
sourceunsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
Safety
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more