Struct IWebUIBackgroundTaskInstance
pub struct IWebUIBackgroundTaskInstance(/* private fields */);
Implementations§
§impl IWebUIBackgroundTaskInstance
impl IWebUIBackgroundTaskInstance
pub fn Succeeded(&self) -> Result<bool>
pub fn SetSucceeded(&self, succeeded: bool) -> Result<()>
Trait Implementations§
§impl CanInto<IInspectable> for IWebUIBackgroundTaskInstance
impl CanInto<IInspectable> for IWebUIBackgroundTaskInstance
§impl CanInto<IUnknown> for IWebUIBackgroundTaskInstance
impl CanInto<IUnknown> for IWebUIBackgroundTaskInstance
§impl CanInto<IWebUIBackgroundTaskInstance> for WebUIBackgroundTaskInstanceRuntimeClass
impl CanInto<IWebUIBackgroundTaskInstance> for WebUIBackgroundTaskInstanceRuntimeClass
§impl Clone for IWebUIBackgroundTaskInstance
impl Clone for IWebUIBackgroundTaskInstance
§fn clone(&self) -> IWebUIBackgroundTaskInstance
fn clone(&self) -> IWebUIBackgroundTaskInstance
Returns a copy 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 more§impl Debug for IWebUIBackgroundTaskInstance
impl Debug for IWebUIBackgroundTaskInstance
§impl From<&IWebUIBackgroundTaskInstance> for &IInspectable
impl From<&IWebUIBackgroundTaskInstance> for &IInspectable
§fn from(value: &IWebUIBackgroundTaskInstance) -> Self
fn from(value: &IWebUIBackgroundTaskInstance) -> Self
Converts to this type from the input type.
§impl From<&IWebUIBackgroundTaskInstance> for &IUnknown
impl From<&IWebUIBackgroundTaskInstance> for &IUnknown
§fn from(value: &IWebUIBackgroundTaskInstance) -> Self
fn from(value: &IWebUIBackgroundTaskInstance) -> Self
Converts to this type from the input type.
§impl From<&WebUIBackgroundTaskInstanceRuntimeClass> for &IWebUIBackgroundTaskInstance
impl From<&WebUIBackgroundTaskInstanceRuntimeClass> for &IWebUIBackgroundTaskInstance
§fn from(value: &WebUIBackgroundTaskInstanceRuntimeClass) -> Self
fn from(value: &WebUIBackgroundTaskInstanceRuntimeClass) -> Self
Converts to this type from the input type.
§impl From<IWebUIBackgroundTaskInstance> for IInspectable
impl From<IWebUIBackgroundTaskInstance> for IInspectable
§fn from(value: IWebUIBackgroundTaskInstance) -> Self
fn from(value: IWebUIBackgroundTaskInstance) -> Self
Converts to this type from the input type.
§impl From<IWebUIBackgroundTaskInstance> for IUnknown
impl From<IWebUIBackgroundTaskInstance> for IUnknown
§fn from(value: IWebUIBackgroundTaskInstance) -> Self
fn from(value: IWebUIBackgroundTaskInstance) -> Self
Converts to this type from the input type.
§impl From<WebUIBackgroundTaskInstanceRuntimeClass> for IWebUIBackgroundTaskInstance
impl From<WebUIBackgroundTaskInstanceRuntimeClass> for IWebUIBackgroundTaskInstance
§fn from(value: WebUIBackgroundTaskInstanceRuntimeClass) -> Self
fn from(value: WebUIBackgroundTaskInstanceRuntimeClass) -> Self
Converts to this type from the input type.
§impl Interface for IWebUIBackgroundTaskInstance
impl Interface for IWebUIBackgroundTaskInstance
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IWebUIBackgroundTaskInstance
impl PartialEq for IWebUIBackgroundTaskInstance
impl Eq for IWebUIBackgroundTaskInstance
impl StructuralPartialEq for IWebUIBackgroundTaskInstance
Auto Trait Implementations§
impl Freeze for IWebUIBackgroundTaskInstance
impl RefUnwindSafe for IWebUIBackgroundTaskInstance
impl !Send for IWebUIBackgroundTaskInstance
impl !Sync for IWebUIBackgroundTaskInstance
impl Unpin for IWebUIBackgroundTaskInstance
impl UnwindSafe for IWebUIBackgroundTaskInstance
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