Struct winsafe::IDataObject
source · pub struct IDataObject(/* private fields */);
Available on crate feature
ole
only.Expand description
IDataObject
COM interface over IDataObjectVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IDataObject
impl Clone for IDataObject
source§impl Drop for IDataObject
impl Drop for IDataObject
source§impl ole_IDataObject for IDataObject
impl ole_IDataObject for IDataObject
source§fn DAdvise(
&self,
formatetc: &FORMATETC<'_>,
advf: ADVF,
adv_sink: &impl ole_IAdviseSink
) -> HrResult<u32>
fn DAdvise( &self, formatetc: &FORMATETC<'_>, advf: ADVF, adv_sink: &impl ole_IAdviseSink ) -> HrResult<u32>
IDataObject::DAdvise
method.source§fn QueryGetData(&self, formatetc: &FORMATETC<'_>) -> HrResult<()>
fn QueryGetData(&self, formatetc: &FORMATETC<'_>) -> HrResult<()>
IDataObject::QueryGetData
method.source§impl ole_IUnknown for IDataObject
impl ole_IUnknown for IDataObject
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
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
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
Returns the pointer to the underlying COM virtual table. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IUnknown::QueryInterface
method.impl Send for IDataObject
Auto Trait Implementations§
impl Freeze for IDataObject
impl RefUnwindSafe for IDataObject
impl !Sync for IDataObject
impl Unpin for IDataObject
impl UnwindSafe for IDataObject
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