pub struct NewWindowRequestedEventArgs { /* private fields */ }
Expand description
Wrapper for ICoreWebView2NewWindowRequestedEventArgs
.
Implementations§
Source§impl NewWindowRequestedEventArgs
impl NewWindowRequestedEventArgs
pub fn into_inner(self) -> ComRc<dyn ICoreWebView2NewWindowRequestedEventArgs>
pub fn as_inner(&self) -> &ComRc<dyn ICoreWebView2NewWindowRequestedEventArgs>
Source§impl NewWindowRequestedEventArgs
impl NewWindowRequestedEventArgs
pub fn get_uri(&self) -> Result<String>
pub fn put_new_window(&self, i: WebView) -> Result<()>
pub fn get_new_window(&self) -> Result<WebView>
pub fn put_handled(&self, enabled: bool) -> Result<()>
pub fn get_handled(&self) -> Result<bool>
pub fn get_is_user_initiated(&self) -> Result<bool>
pub fn get_deferral(&self) -> Result<Deferral>
pub fn get_window_features(&self) -> Result<WindowFeatures>
Trait Implementations§
Source§impl Clone for NewWindowRequestedEventArgs
impl Clone for NewWindowRequestedEventArgs
Source§fn clone(&self) -> NewWindowRequestedEventArgs
fn clone(&self) -> NewWindowRequestedEventArgs
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 Debug for NewWindowRequestedEventArgs
impl Debug for NewWindowRequestedEventArgs
Source§impl From<ComRc<dyn ICoreWebView2NewWindowRequestedEventArgs>> for NewWindowRequestedEventArgs
impl From<ComRc<dyn ICoreWebView2NewWindowRequestedEventArgs>> for NewWindowRequestedEventArgs
Source§fn from(inner: ComRc<dyn ICoreWebView2NewWindowRequestedEventArgs>) -> Self
fn from(inner: ComRc<dyn ICoreWebView2NewWindowRequestedEventArgs>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NewWindowRequestedEventArgs
impl !RefUnwindSafe for NewWindowRequestedEventArgs
impl !Send for NewWindowRequestedEventArgs
impl !Sync for NewWindowRequestedEventArgs
impl !Unpin for NewWindowRequestedEventArgs
impl !UnwindSafe for NewWindowRequestedEventArgs
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