pub struct ScriptDialogOpeningEventArgs { /* private fields */ }
Expand description
Wrapper for ICoreWebView2ScriptDialogOpeningEventArgs
.
Implementations§
Source§impl ScriptDialogOpeningEventArgs
impl ScriptDialogOpeningEventArgs
pub fn into_inner(self) -> ComRc<dyn ICoreWebView2ScriptDialogOpeningEventArgs>
pub fn as_inner(&self) -> &ComRc<dyn ICoreWebView2ScriptDialogOpeningEventArgs>
Source§impl ScriptDialogOpeningEventArgs
impl ScriptDialogOpeningEventArgs
pub fn get_uri(&self) -> Result<String>
pub fn get_kind(&self) -> Result<ScriptDialogKind>
pub fn get_message(&self) -> Result<String>
pub fn accept(&self) -> Result<()>
pub fn get_default_text(&self) -> Result<String>
pub fn get_result_text(&self) -> Result<String>
pub fn put_result_text(&self, message_string: &str) -> Result<()>
pub fn get_deferral(&self) -> Result<Deferral>
Trait Implementations§
Source§impl Clone for ScriptDialogOpeningEventArgs
impl Clone for ScriptDialogOpeningEventArgs
Source§fn clone(&self) -> ScriptDialogOpeningEventArgs
fn clone(&self) -> ScriptDialogOpeningEventArgs
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 ScriptDialogOpeningEventArgs
impl Debug for ScriptDialogOpeningEventArgs
Source§impl From<ComRc<dyn ICoreWebView2ScriptDialogOpeningEventArgs>> for ScriptDialogOpeningEventArgs
impl From<ComRc<dyn ICoreWebView2ScriptDialogOpeningEventArgs>> for ScriptDialogOpeningEventArgs
Source§fn from(inner: ComRc<dyn ICoreWebView2ScriptDialogOpeningEventArgs>) -> Self
fn from(inner: ComRc<dyn ICoreWebView2ScriptDialogOpeningEventArgs>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ScriptDialogOpeningEventArgs
impl !RefUnwindSafe for ScriptDialogOpeningEventArgs
impl !Send for ScriptDialogOpeningEventArgs
impl !Sync for ScriptDialogOpeningEventArgs
impl !Unpin for ScriptDialogOpeningEventArgs
impl !UnwindSafe for ScriptDialogOpeningEventArgs
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