windows::Win32::UI::Shell::Common

Trait IObjectCollection_Impl

pub trait IObjectCollection_Impl: IObjectArray_Impl {
    // Required methods
    fn AddObject(&self, punk: Ref<'_, IUnknown>) -> Result<()>;
    fn AddFromArray(&self, poasource: Ref<'_, IObjectArray>) -> Result<()>;
    fn RemoveObjectAt(&self, uiindex: u32) -> Result<()>;
    fn Clear(&self) -> Result<()>;
}

Required Methods§

fn AddObject(&self, punk: Ref<'_, IUnknown>) -> Result<()>

fn AddFromArray(&self, poasource: Ref<'_, IObjectArray>) -> Result<()>

fn RemoveObjectAt(&self, uiindex: u32) -> Result<()>

fn Clear(&self) -> Result<()>

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§