pub struct SetPermissionStateCompletedHandler(/* private fields */);
Expand description
Implementation of ICoreWebView2SetPermissionStateCompletedHandler_Impl
.
Implementations§
source§impl SetPermissionStateCompletedHandler
impl SetPermissionStateCompletedHandler
pub fn create( closure: Box<dyn FnOnce(<HRESULT as ClosureArg>::Output) -> Result<()>>, ) -> ICoreWebView2SetPermissionStateCompletedHandler
pub fn wait_for_async_operation( closure: Box<dyn FnOnce(ICoreWebView2SetPermissionStateCompletedHandler) -> Result<()>>, completed: Box<dyn FnOnce(<HRESULT as ClosureArg>::Output) -> Result<()>>, ) -> Result<()>
Trait Implementations§
source§impl AsImpl<SetPermissionStateCompletedHandler> for ICoreWebView2SetPermissionStateCompletedHandler
impl AsImpl<SetPermissionStateCompletedHandler> for ICoreWebView2SetPermissionStateCompletedHandler
source§impl ComObjectInner for SetPermissionStateCompletedHandler
impl ComObjectInner for SetPermissionStateCompletedHandler
§type Outer = SetPermissionStateCompletedHandler_Impl
type Outer = SetPermissionStateCompletedHandler_Impl
The generated
<foo>_Impl
type (aka the “boxed” type or “outer” type).source§fn into_object(self) -> ComObject<Self>
fn into_object(self) -> ComObject<Self>
Moves an instance of this type into a new ComObject box and returns it. Read more
source§impl From<SetPermissionStateCompletedHandler> for ICoreWebView2SetPermissionStateCompletedHandler
impl From<SetPermissionStateCompletedHandler> for ICoreWebView2SetPermissionStateCompletedHandler
source§fn from(this: SetPermissionStateCompletedHandler) -> Self
fn from(this: SetPermissionStateCompletedHandler) -> Self
Converts to this type from the input type.
source§impl From<SetPermissionStateCompletedHandler> for IInspectable
impl From<SetPermissionStateCompletedHandler> for IInspectable
source§fn from(this: SetPermissionStateCompletedHandler) -> Self
fn from(this: SetPermissionStateCompletedHandler) -> Self
Converts to this type from the input type.
source§impl From<SetPermissionStateCompletedHandler> for IUnknown
impl From<SetPermissionStateCompletedHandler> for IUnknown
source§fn from(this: SetPermissionStateCompletedHandler) -> Self
fn from(this: SetPermissionStateCompletedHandler) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for SetPermissionStateCompletedHandler
impl !RefUnwindSafe for SetPermissionStateCompletedHandler
impl !Send for SetPermissionStateCompletedHandler
impl !Sync for SetPermissionStateCompletedHandler
impl Unpin for SetPermissionStateCompletedHandler
impl !UnwindSafe for SetPermissionStateCompletedHandler
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