Struct windows::Win32::UI::Shell::ITransferDestination
pub struct ITransferDestination(/* private fields */);
Implementations§
§impl ITransferDestination
impl ITransferDestination
pub unsafe fn Advise<P0>(&self, psink: P0) -> Result<u32>where
P0: IntoParam<ITransferAdviseSink>,
pub unsafe fn Unadvise(&self, dwcookie: u32) -> Result<()>
pub unsafe fn CreateItem<P0>(
&self,
pszname: P0,
dwattributes: u32,
ullsize: u64,
flags: u32,
riiditem: *const GUID,
ppvitem: *mut *mut c_void,
riidresources: *const GUID,
ppvresources: *mut *mut c_void
) -> Result<()>where
P0: IntoParam<PCWSTR>,
Trait Implementations§
§impl Clone for ITransferDestination
impl Clone for ITransferDestination
§fn clone(&self) -> ITransferDestination
fn clone(&self) -> ITransferDestination
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 more§impl Debug for ITransferDestination
impl Debug for ITransferDestination
§impl From<&ITransferDestination> for &IUnknown
impl From<&ITransferDestination> for &IUnknown
§fn from(value: &ITransferDestination) -> Self
fn from(value: &ITransferDestination) -> Self
Converts to this type from the input type.
§impl From<ITransferDestination> for IUnknown
impl From<ITransferDestination> for IUnknown
§fn from(value: ITransferDestination) -> Self
fn from(value: ITransferDestination) -> Self
Converts to this type from the input type.
§impl Interface for ITransferDestination
impl Interface for ITransferDestination
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for ITransferDestination
impl PartialEq for ITransferDestination
§fn eq(&self, other: &ITransferDestination) -> bool
fn eq(&self, other: &ITransferDestination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITransferDestination
impl StructuralPartialEq for ITransferDestination
Auto Trait Implementations§
impl RefUnwindSafe for ITransferDestination
impl !Send for ITransferDestination
impl !Sync for ITransferDestination
impl Unpin for ITransferDestination
impl UnwindSafe for ITransferDestination
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