pub struct IDataObject(/* private fields */);
Implementations§
Source§impl IDataObject
impl IDataObject
pub unsafe fn GetData(&self, pformatetcin: *mut FORMATETC) -> Result<STGMEDIUM>
pub unsafe fn GetDataHere( &self, pformatetc: *mut FORMATETC, pmedium: *mut STGMEDIUM, ) -> Result<()>
pub unsafe fn QueryGetData(&self, pformatetc: *mut FORMATETC) -> Result<()>
pub unsafe fn GetCanonicalFormatEtc( &self, pformatectin: *mut FORMATETC, ) -> Result<FORMATETC>
pub unsafe fn SetData<'a>( &self, pformatetc: *mut FORMATETC, pmedium: *mut STGMEDIUM, frelease: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn EnumFormatEtc(&self, dwdirection: u32) -> Result<IEnumFORMATETC>
pub unsafe fn DAdvise<'a>( &self, pformatetc: *mut FORMATETC, advf: u32, padvsink: impl IntoParam<'a, IAdviseSink>, ) -> Result<u32>
pub unsafe fn DUnadvise(&self, dwconnection: u32) -> Result<()>
pub unsafe fn EnumDAdvise(&self) -> Result<IEnumSTATDATA>
Trait Implementations§
Source§impl Clone for IDataObject
impl Clone for IDataObject
Source§fn clone(&self) -> IDataObject
fn clone(&self) -> IDataObject
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 moreSource§impl Debug for IDataObject
impl Debug for IDataObject
Source§impl From<&IDataObject> for IUnknown
impl From<&IDataObject> for IUnknown
Source§fn from(value: &IDataObject) -> Self
fn from(value: &IDataObject) -> Self
Converts to this type from the input type.
Source§impl From<IDataObject> for IUnknown
impl From<IDataObject> for IUnknown
Source§fn from(value: IDataObject) -> Self
fn from(value: IDataObject) -> Self
Converts to this type from the input type.
Source§impl Interface for IDataObject
impl Interface for IDataObject
const IID: Guid
type Vtable = IDataObject_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IDataObject
impl PartialEq for IDataObject
impl Eq for IDataObject
impl StructuralPartialEq for IDataObject
Auto Trait Implementations§
impl Freeze for IDataObject
impl RefUnwindSafe for IDataObject
impl !Send for IDataObject
impl !Sync for IDataObject
impl Unpin for IDataObject
impl UnwindSafe for IDataObject
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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