pub struct PermissionRequestedEventArgs { /* private fields */ }
Expand description
Wrapper for ICoreWebView2PermissionRequestedEventArgs
.
Implementations§
Source§impl PermissionRequestedEventArgs
impl PermissionRequestedEventArgs
pub fn into_inner(self) -> ComRc<dyn ICoreWebView2PermissionRequestedEventArgs>
pub fn as_inner(&self) -> &ComRc<dyn ICoreWebView2PermissionRequestedEventArgs>
Source§impl PermissionRequestedEventArgs
impl PermissionRequestedEventArgs
pub fn get_uri(&self) -> Result<String>
pub fn get_permission_kind(&self) -> Result<PermissionKind>
pub fn get_is_user_initiated(&self) -> Result<bool>
pub fn get_state(&self) -> Result<PermissionState>
pub fn put_state(&self, state: PermissionState) -> Result<()>
pub fn get_deferral(&self) -> Result<Deferral>
Trait Implementations§
Source§impl Clone for PermissionRequestedEventArgs
impl Clone for PermissionRequestedEventArgs
Source§fn clone(&self) -> PermissionRequestedEventArgs
fn clone(&self) -> PermissionRequestedEventArgs
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 PermissionRequestedEventArgs
impl Debug for PermissionRequestedEventArgs
Source§impl From<ComRc<dyn ICoreWebView2PermissionRequestedEventArgs>> for PermissionRequestedEventArgs
impl From<ComRc<dyn ICoreWebView2PermissionRequestedEventArgs>> for PermissionRequestedEventArgs
Source§fn from(inner: ComRc<dyn ICoreWebView2PermissionRequestedEventArgs>) -> Self
fn from(inner: ComRc<dyn ICoreWebView2PermissionRequestedEventArgs>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PermissionRequestedEventArgs
impl !RefUnwindSafe for PermissionRequestedEventArgs
impl !Send for PermissionRequestedEventArgs
impl !Sync for PermissionRequestedEventArgs
impl !Unpin for PermissionRequestedEventArgs
impl !UnwindSafe for PermissionRequestedEventArgs
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