pub struct IShellItem(/* private fields */);
Implementations§
Source§impl IShellItem
impl IShellItem
pub unsafe fn BindToHandler<'a, T: Interface>( &self, pbc: impl IntoParam<'a, IBindCtx>, bhid: *const Guid, ) -> Result<T>
pub unsafe fn GetParent(&self) -> Result<IShellItem>
pub unsafe fn GetDisplayName(&self, sigdnname: SIGDN) -> Result<PWSTR>
pub unsafe fn GetAttributes(&self, sfgaomask: u32) -> Result<u32>
pub unsafe fn Compare<'a>( &self, psi: impl IntoParam<'a, IShellItem>, hint: u32, ) -> Result<i32>
Trait Implementations§
Source§impl Clone for IShellItem
impl Clone for IShellItem
Source§fn clone(&self) -> IShellItem
fn clone(&self) -> IShellItem
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 IShellItem
impl Debug for IShellItem
Source§impl From<&IShellItem> for IUnknown
impl From<&IShellItem> for IUnknown
Source§fn from(value: &IShellItem) -> Self
fn from(value: &IShellItem) -> Self
Converts to this type from the input type.
Source§impl From<&IShellItem2> for IShellItem
impl From<&IShellItem2> for IShellItem
Source§fn from(value: &IShellItem2) -> Self
fn from(value: &IShellItem2) -> Self
Converts to this type from the input type.
Source§impl From<IShellItem> for IUnknown
impl From<IShellItem> for IUnknown
Source§fn from(value: IShellItem) -> Self
fn from(value: IShellItem) -> Self
Converts to this type from the input type.
Source§impl From<IShellItem2> for IShellItem
impl From<IShellItem2> for IShellItem
Source§fn from(value: IShellItem2) -> Self
fn from(value: IShellItem2) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellItem
impl Interface for IShellItem
const IID: Guid
type Vtable = IShellItem_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 IShellItem
impl PartialEq for IShellItem
impl Eq for IShellItem
impl StructuralPartialEq for IShellItem
Auto Trait Implementations§
impl Freeze for IShellItem
impl RefUnwindSafe for IShellItem
impl !Send for IShellItem
impl !Sync for IShellItem
impl Unpin for IShellItem
impl UnwindSafe for IShellItem
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