pub struct IDragSourceHelper2(/* private fields */);
Implementations§
Source§impl IDragSourceHelper2
impl IDragSourceHelper2
pub unsafe fn InitializeFromBitmap<'a>( &self, pshdi: *mut SHDRAGIMAGE, pdataobject: impl IntoParam<'a, IDataObject>, ) -> Result<()>
pub unsafe fn InitializeFromWindow<'a>( &self, hwnd: impl IntoParam<'a, HWND>, ppt: *mut POINT, pdataobject: impl IntoParam<'a, IDataObject>, ) -> Result<()>
pub unsafe fn SetFlags(&self, dwflags: u32) -> Result<()>
Trait Implementations§
Source§impl Clone for IDragSourceHelper2
impl Clone for IDragSourceHelper2
Source§fn clone(&self) -> IDragSourceHelper2
fn clone(&self) -> IDragSourceHelper2
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 IDragSourceHelper2
impl Debug for IDragSourceHelper2
Source§impl From<&IDragSourceHelper2> for IDragSourceHelper
impl From<&IDragSourceHelper2> for IDragSourceHelper
Source§fn from(value: &IDragSourceHelper2) -> Self
fn from(value: &IDragSourceHelper2) -> Self
Converts to this type from the input type.
Source§impl From<&IDragSourceHelper2> for IUnknown
impl From<&IDragSourceHelper2> for IUnknown
Source§fn from(value: &IDragSourceHelper2) -> Self
fn from(value: &IDragSourceHelper2) -> Self
Converts to this type from the input type.
Source§impl From<IDragSourceHelper2> for IDragSourceHelper
impl From<IDragSourceHelper2> for IDragSourceHelper
Source§fn from(value: IDragSourceHelper2) -> Self
fn from(value: IDragSourceHelper2) -> Self
Converts to this type from the input type.
Source§impl From<IDragSourceHelper2> for IUnknown
impl From<IDragSourceHelper2> for IUnknown
Source§fn from(value: IDragSourceHelper2) -> Self
fn from(value: IDragSourceHelper2) -> Self
Converts to this type from the input type.
Source§impl Interface for IDragSourceHelper2
impl Interface for IDragSourceHelper2
const IID: Guid
type Vtable = IDragSourceHelper2_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 IDragSourceHelper2
impl PartialEq for IDragSourceHelper2
impl Eq for IDragSourceHelper2
impl StructuralPartialEq for IDragSourceHelper2
Auto Trait Implementations§
impl Freeze for IDragSourceHelper2
impl RefUnwindSafe for IDragSourceHelper2
impl !Send for IDragSourceHelper2
impl !Sync for IDragSourceHelper2
impl Unpin for IDragSourceHelper2
impl UnwindSafe for IDragSourceHelper2
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