windows::Win32::UI::Shell

Trait IShellItem_Impl

pub trait IShellItem_Impl: IUnknownImpl {
    // Required methods
    fn BindToHandler(
        &self,
        pbc: Ref<'_, IBindCtx>,
        bhid: *const GUID,
        riid: *const GUID,
        ppv: *mut *mut c_void,
    ) -> Result<()>;
    fn GetParent(&self) -> Result<IShellItem>;
    fn GetDisplayName(&self, sigdnname: SIGDN) -> Result<PWSTR>;
    fn GetAttributes(&self, sfgaomask: SFGAO_FLAGS) -> Result<SFGAO_FLAGS>;
    fn Compare(&self, psi: Ref<'_, IShellItem>, hint: u32) -> Result<i32>;
}

Required Methods§

fn BindToHandler( &self, pbc: Ref<'_, IBindCtx>, bhid: *const GUID, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>

fn GetParent(&self) -> Result<IShellItem>

fn GetDisplayName(&self, sigdnname: SIGDN) -> Result<PWSTR>

fn GetAttributes(&self, sfgaomask: SFGAO_FLAGS) -> Result<SFGAO_FLAGS>

fn Compare(&self, psi: Ref<'_, IShellItem>, hint: u32) -> Result<i32>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§