Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2NewWindowRequestedEventArgs
source · [−]#[repr(transparent)]pub struct ICoreWebView2NewWindowRequestedEventArgs(_);
Implementations
sourceimpl ICoreWebView2NewWindowRequestedEventArgs
impl ICoreWebView2NewWindowRequestedEventArgs
pub unsafe fn Uri(&self, uri: *mut PWSTR) -> Result<(), Error>
pub unsafe fn SetNewWindow<'a, Param0>(
&self,
newwindow: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2>,
pub unsafe fn NewWindow(&self) -> Result<ICoreWebView2, Error>
pub unsafe fn SetHandled<'a, Param0>(
&self,
handled: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, BOOL>,
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
sourceimpl Clone for ICoreWebView2NewWindowRequestedEventArgs
impl Clone for ICoreWebView2NewWindowRequestedEventArgs
sourcepub fn clone(&self) -> ICoreWebView2NewWindowRequestedEventArgs
pub fn clone(&self) -> ICoreWebView2NewWindowRequestedEventArgs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl From<&'_ ICoreWebView2NewWindowRequestedEventArgs2> for ICoreWebView2NewWindowRequestedEventArgs
impl From<&'_ ICoreWebView2NewWindowRequestedEventArgs2> for ICoreWebView2NewWindowRequestedEventArgs
sourcepub fn from(
value: &ICoreWebView2NewWindowRequestedEventArgs2
) -> ICoreWebView2NewWindowRequestedEventArgs
pub fn from(
value: &ICoreWebView2NewWindowRequestedEventArgs2
) -> ICoreWebView2NewWindowRequestedEventArgs
Performs the conversion.
sourceimpl From<ICoreWebView2NewWindowRequestedEventArgs2> for ICoreWebView2NewWindowRequestedEventArgs
impl From<ICoreWebView2NewWindowRequestedEventArgs2> for ICoreWebView2NewWindowRequestedEventArgs
sourcepub fn from(
value: ICoreWebView2NewWindowRequestedEventArgs2
) -> ICoreWebView2NewWindowRequestedEventArgs
pub fn from(
value: ICoreWebView2NewWindowRequestedEventArgs2
) -> ICoreWebView2NewWindowRequestedEventArgs
Performs the conversion.
sourceimpl Interface for ICoreWebView2NewWindowRequestedEventArgs
impl Interface for ICoreWebView2NewWindowRequestedEventArgs
type Vtable = ICoreWebView2NewWindowRequestedEventArgsVtbl
sourceimpl PartialEq<ICoreWebView2NewWindowRequestedEventArgs> for ICoreWebView2NewWindowRequestedEventArgs
impl PartialEq<ICoreWebView2NewWindowRequestedEventArgs> for ICoreWebView2NewWindowRequestedEventArgs
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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>
sourcepub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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