pub struct WaitableCallback { /* private fields */ }
Implementations§
Source§impl WaitableCallback
impl WaitableCallback
Sourcepub const fn into_static(self) -> StaticComObject<Self>
pub const fn into_static(self) -> StaticComObject<Self>
This converts a partially-constructed COM object (in the sense that it contains
application state but does not yet have vtable and reference count constructed)
into a StaticComObject
. This allows the COM object to be stored in static
(global) variables.
Source§impl WaitableCallback
impl WaitableCallback
pub fn channel() -> (WaitableToken, IFabricAsyncOperationCallback)
pub fn new() -> WaitableCallback
Trait Implementations§
Source§impl ComObjectInner for WaitableCallback
impl ComObjectInner for WaitableCallback
Source§type Outer = WaitableCallback_Impl
type Outer = WaitableCallback_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 Debug for WaitableCallback
impl Debug for WaitableCallback
Source§impl Default for WaitableCallback
impl Default for WaitableCallback
Source§impl From<WaitableCallback> for IFabricAsyncOperationCallback
impl From<WaitableCallback> for IFabricAsyncOperationCallback
Source§fn from(this: WaitableCallback) -> Self
fn from(this: WaitableCallback) -> Self
Converts to this type from the input type.
Source§impl From<WaitableCallback> for IInspectable
impl From<WaitableCallback> for IInspectable
Source§fn from(this: WaitableCallback) -> Self
fn from(this: WaitableCallback) -> Self
Converts to this type from the input type.
Source§impl From<WaitableCallback> for IUnknown
impl From<WaitableCallback> for IUnknown
Source§fn from(this: WaitableCallback) -> Self
fn from(this: WaitableCallback) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WaitableCallback
impl RefUnwindSafe for WaitableCallback
impl Send for WaitableCallback
impl Sync for WaitableCallback
impl Unpin for WaitableCallback
impl UnwindSafe for WaitableCallback
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