Struct winsafe::IMFAsyncCallback
source · pub struct IMFAsyncCallback(/* private fields */);
Available on crate feature
mf
only.Expand description
IMFAsyncCallback
COM interface over
IMFAsyncCallbackVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IMFAsyncCallback
impl Clone for IMFAsyncCallback
source§impl Drop for IMFAsyncCallback
impl Drop for IMFAsyncCallback
source§impl mf_IMFAsyncCallback for IMFAsyncCallback
impl mf_IMFAsyncCallback for IMFAsyncCallback
source§fn Invoke(&self, async_result: &impl mf_IMFAsyncResult) -> HrResult<()>
fn Invoke(&self, async_result: &impl mf_IMFAsyncResult) -> HrResult<()>
IMFAsyncCallback::Invoke
method.source§impl ole_IUnknown for IMFAsyncCallback
impl ole_IUnknown for IMFAsyncCallback
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.impl Send for IMFAsyncCallback
Auto Trait Implementations§
impl RefUnwindSafe for IMFAsyncCallback
impl !Sync for IMFAsyncCallback
impl Unpin for IMFAsyncCallback
impl UnwindSafe for IMFAsyncCallback
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