pub struct CoreWebView2NewWindowRequestedEventArgs(/* private fields */);
Implementations§
Source§impl CoreWebView2NewWindowRequestedEventArgs
impl CoreWebView2NewWindowRequestedEventArgs
pub fn Uri(&self) -> Result<HString>
pub fn NewWindow(&self) -> Result<CoreWebView2>
pub fn SetNewWindow<'a, T0__: IntoParam<'a, CoreWebView2>>( &self, value: T0__, ) -> Result<()>
pub fn Handled(&self) -> Result<bool>
pub fn SetHandled(&self, value: bool) -> Result<()>
pub fn IsUserInitiated(&self) -> Result<bool>
pub fn WindowFeatures(&self) -> Result<CoreWebView2WindowFeatures>
pub fn GetDeferral(&self) -> Result<Deferral>
Trait Implementations§
Source§impl Clone for CoreWebView2NewWindowRequestedEventArgs
impl Clone for CoreWebView2NewWindowRequestedEventArgs
Source§fn clone(&self) -> CoreWebView2NewWindowRequestedEventArgs
fn clone(&self) -> CoreWebView2NewWindowRequestedEventArgs
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§impl From<&CoreWebView2NewWindowRequestedEventArgs> for Object
impl From<&CoreWebView2NewWindowRequestedEventArgs> for Object
Source§fn from(value: &CoreWebView2NewWindowRequestedEventArgs) -> Self
fn from(value: &CoreWebView2NewWindowRequestedEventArgs) -> Self
Converts to this type from the input type.
Source§impl From<CoreWebView2NewWindowRequestedEventArgs> for Object
impl From<CoreWebView2NewWindowRequestedEventArgs> for Object
Source§fn from(value: CoreWebView2NewWindowRequestedEventArgs) -> Self
fn from(value: CoreWebView2NewWindowRequestedEventArgs) -> Self
Converts to this type from the input type.
Source§impl Interface for CoreWebView2NewWindowRequestedEventArgs
impl Interface for CoreWebView2NewWindowRequestedEventArgs
const IID: Guid
type Vtable = ICoreWebView2NewWindowRequestedEventArgs_abi
Source§impl<'a> IntoParam<'a, Object> for &'a CoreWebView2NewWindowRequestedEventArgs
impl<'a> IntoParam<'a, Object> for &'a CoreWebView2NewWindowRequestedEventArgs
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for CoreWebView2NewWindowRequestedEventArgs
impl<'a> IntoParam<'a, Object> for CoreWebView2NewWindowRequestedEventArgs
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for CoreWebView2NewWindowRequestedEventArgs
impl PartialEq for CoreWebView2NewWindowRequestedEventArgs
Source§fn eq(&self, other: &CoreWebView2NewWindowRequestedEventArgs) -> bool
fn eq(&self, other: &CoreWebView2NewWindowRequestedEventArgs) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CoreWebView2NewWindowRequestedEventArgs
impl Send for CoreWebView2NewWindowRequestedEventArgs
impl StructuralPartialEq for CoreWebView2NewWindowRequestedEventArgs
impl Sync for CoreWebView2NewWindowRequestedEventArgs
Auto Trait Implementations§
impl Freeze for CoreWebView2NewWindowRequestedEventArgs
impl RefUnwindSafe for CoreWebView2NewWindowRequestedEventArgs
impl Unpin for CoreWebView2NewWindowRequestedEventArgs
impl UnwindSafe for CoreWebView2NewWindowRequestedEventArgs
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