Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2NewWindowRequestedEventArgs
source · #[repr(transparent)]pub struct ICoreWebView2NewWindowRequestedEventArgs(_);
Implementations§
source§impl ICoreWebView2NewWindowRequestedEventArgs
impl ICoreWebView2NewWindowRequestedEventArgs
pub unsafe fn Uri(&self, uri: *mut PWSTR) -> Result<(), Error>
pub unsafe fn SetNewWindow<P0>(&self, newwindow: P0) -> Result<(), Error>where P0: IntoParam<ICoreWebView2, <ICoreWebView2 as TypeKind>::TypeKind>,
pub unsafe fn NewWindow(&self) -> Result<ICoreWebView2, Error>
pub unsafe fn SetHandled<P0>(&self, handled: P0) -> Result<(), Error>where P0: IntoParam<BOOL, <BOOL as TypeKind>::TypeKind>,
pub unsafe fn Handled(&self, handled: *mut BOOL) -> Result<(), Error>
pub unsafe fn IsUserInitiated( &self, isuserinitiated: *mut BOOL ) -> Result<(), Error>
pub unsafe fn GetDeferral(&self) -> Result<ICoreWebView2Deferral, Error>
pub unsafe fn WindowFeatures( &self ) -> Result<ICoreWebView2WindowFeatures, Error>
Trait Implementations§
source§impl Clone for ICoreWebView2NewWindowRequestedEventArgs
impl Clone for ICoreWebView2NewWindowRequestedEventArgs
source§fn clone(&self) -> ICoreWebView2NewWindowRequestedEventArgs
fn clone(&self) -> ICoreWebView2NewWindowRequestedEventArgs
Returns a copy 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§impl ComInterface for ICoreWebView2NewWindowRequestedEventArgs
impl ComInterface for ICoreWebView2NewWindowRequestedEventArgs
source§const IID: GUID = ::windows::core::GUID::from_u128(70016523123429047457334858110512050105)
const IID: GUID = ::windows::core::GUID::from_u128(70016523123429047457334858110512050105)
A unique identifier representing this interface.
source§impl Interface for ICoreWebView2NewWindowRequestedEventArgs
impl Interface for ICoreWebView2NewWindowRequestedEventArgs
type Vtable = ICoreWebView2NewWindowRequestedEventArgs_Vtbl
source§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.source§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
source§impl PartialEq<ICoreWebView2NewWindowRequestedEventArgs> for ICoreWebView2NewWindowRequestedEventArgs
impl PartialEq<ICoreWebView2NewWindowRequestedEventArgs> for ICoreWebView2NewWindowRequestedEventArgs
source§fn eq(&self, other: &ICoreWebView2NewWindowRequestedEventArgs) -> bool
fn eq(&self, other: &ICoreWebView2NewWindowRequestedEventArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICoreWebView2NewWindowRequestedEventArgs
Auto Trait Implementations§
impl RefUnwindSafe for ICoreWebView2NewWindowRequestedEventArgs
impl !Send for ICoreWebView2NewWindowRequestedEventArgs
impl !Sync for ICoreWebView2NewWindowRequestedEventArgs
impl Unpin for ICoreWebView2NewWindowRequestedEventArgs
impl UnwindSafe for ICoreWebView2NewWindowRequestedEventArgs
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